Compare commits

...

1 Commits

Author SHA1 Message Date
Affaan Mustafa
bcc88191d0 fix: declare http transport in mcp config 2026-03-29 21:21:13 -04:00
2 changed files with 15 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
"args": ["-y", "@upstash/context7-mcp@2.1.4"] "args": ["-y", "@upstash/context7-mcp@2.1.4"]
}, },
"exa": { "exa": {
"type": "http",
"url": "https://mcp.exa.ai/mcp" "url": "https://mcp.exa.ai/mcp"
}, },
"memory": { "memory": {

View File

@@ -216,6 +216,20 @@ test('.mcp.json includes at least github, context7, and exa servers', () => {
assert.ok(servers.includes('exa'), 'Expected exa MCP server'); 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 ──────────────────────────────────────────────────── // ── Codex marketplace file ────────────────────────────────────────────────────
// Per official docs: repo marketplace lives at $REPO_ROOT/.agents/plugins/marketplace.json // Per official docs: repo marketplace lives at $REPO_ROOT/.agents/plugins/marketplace.json
console.log('\n=== .agents/plugins/marketplace.json ===\n'); console.log('\n=== .agents/plugins/marketplace.json ===\n');