Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion bin/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,10 @@ if (apMcp.$schema !== AP_MCP_SCHEMA) {
}
}
const ingest = apServers['fdeops-ingest']
const target = ingest && (ingest.args || []).join(' ').replace('${PLUGIN_ROOT}/', '')
const rootArg = ingest && (ingest.args || []).find(a => String(a).startsWith('${PLUGIN_ROOT}/'))
const target = rootArg && String(rootArg).replace('${PLUGIN_ROOT}/', '')
if (!ingest) fail('mcp.json must declare the fdeops-ingest stdio server')
else if (!target) fail('mcp.json fdeops-ingest must pass a ${PLUGIN_ROOT}-relative server path in args')
else if (!fs.existsSync(path.join(root, target))) fail(`mcp.json fdeops-ingest points at missing ${target}`)
else ok('agent plugins mcp config')
}
Expand Down
Loading