From 734c94ebdc1e48b43ab62d9f905548311327a36f Mon Sep 17 00:00:00 2001 From: Affaan Mustafa Date: Sun, 29 Mar 2026 21:27:16 -0400 Subject: [PATCH] fix: declare exa mcp transport type --- .mcp.json | 29 +++++++++++++++++++++++------ tests/plugin-manifest.test.js | 8 ++++++++ 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/.mcp.json b/.mcp.json index 26886617..b3ae724a 100644 --- a/.mcp.json +++ b/.mcp.json @@ -2,26 +2,43 @@ "mcpServers": { "github": { "command": "npx", - "args": ["-y", "@modelcontextprotocol/server-github"] + "args": [ + "-y", + "@modelcontextprotocol/server-github" + ] }, "context7": { "command": "npx", - "args": ["-y", "@upstash/context7-mcp@2.1.4"] + "args": [ + "-y", + "@upstash/context7-mcp@2.1.4" + ] }, "exa": { - "url": "https://mcp.exa.ai/mcp" + "url": "https://mcp.exa.ai/mcp", + "type": "http" }, "memory": { "command": "npx", - "args": ["-y", "@modelcontextprotocol/server-memory"] + "args": [ + "-y", + "@modelcontextprotocol/server-memory" + ] }, "playwright": { "command": "npx", - "args": ["-y", "@playwright/mcp@0.0.68", "--extension"] + "args": [ + "-y", + "@playwright/mcp@0.0.68", + "--extension" + ] }, "sequential-thinking": { "command": "npx", - "args": ["-y", "@modelcontextprotocol/server-sequential-thinking"] + "args": [ + "-y", + "@modelcontextprotocol/server-sequential-thinking" + ] } } } diff --git a/tests/plugin-manifest.test.js b/tests/plugin-manifest.test.js index 9f76c72f..530a1963 100644 --- a/tests/plugin-manifest.test.js +++ b/tests/plugin-manifest.test.js @@ -216,6 +216,14 @@ test('.mcp.json includes at least github, context7, and exa servers', () => { 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 ──────────────────────────────────────────────────── // Per official docs: repo marketplace lives at $REPO_ROOT/.agents/plugins/marketplace.json console.log('\n=== .agents/plugins/marketplace.json ===\n');