fix: declare exa mcp transport type

This commit is contained in:
Affaan Mustafa
2026-03-29 21:27:16 -04:00
parent dd675d4258
commit 734c94ebdc
2 changed files with 31 additions and 6 deletions

View File

@@ -2,26 +2,43 @@
"mcpServers": { "mcpServers": {
"github": { "github": {
"command": "npx", "command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"] "args": [
"-y",
"@modelcontextprotocol/server-github"
]
}, },
"context7": { "context7": {
"command": "npx", "command": "npx",
"args": ["-y", "@upstash/context7-mcp@2.1.4"] "args": [
"-y",
"@upstash/context7-mcp@2.1.4"
]
}, },
"exa": { "exa": {
"url": "https://mcp.exa.ai/mcp" "url": "https://mcp.exa.ai/mcp",
"type": "http"
}, },
"memory": { "memory": {
"command": "npx", "command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"] "args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}, },
"playwright": { "playwright": {
"command": "npx", "command": "npx",
"args": ["-y", "@playwright/mcp@0.0.68", "--extension"] "args": [
"-y",
"@playwright/mcp@0.0.68",
"--extension"
]
}, },
"sequential-thinking": { "sequential-thinking": {
"command": "npx", "command": "npx",
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"] "args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
} }
} }
} }

View File

@@ -216,6 +216,14 @@ 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 remote Exa server declares its transport type', () => {
assert.strictEqual(
mcpConfig.mcpServers.exa?.type,
'http',
'Expected Exa MCP server to declare type="http" for Claude Code schema compliance',
);
});
// ── 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');