mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-03 15:43:31 +08:00
fix: declare http transport in mcp config
This commit is contained in:
@@ -216,6 +216,20 @@ test('.mcp.json includes at least github, context7, and exa servers', () => {
|
||||
assert.ok(servers.includes('exa'), 'Expected exa MCP server');
|
||||
});
|
||||
|
||||
test('.mcp.json HTTP transport servers declare type=http when they use url', () => {
|
||||
for (const [name, server] of Object.entries(mcpConfig.mcpServers)) {
|
||||
if (!server || typeof server !== 'object' || !('url' in server)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
assert.strictEqual(
|
||||
server.type,
|
||||
'http',
|
||||
`Expected ${name} MCP server to declare type=http when using url transport`,
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
// ── Codex marketplace file ────────────────────────────────────────────────────
|
||||
// Per official docs: repo marketplace lives at $REPO_ROOT/.agents/plugins/marketplace.json
|
||||
console.log('\n=== .agents/plugins/marketplace.json ===\n');
|
||||
|
||||
Reference in New Issue
Block a user