mcp-server-mcpindex 0.3.9 → 0.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to `mcp-server-mcpindex` are recorded here.
4
4
 
5
5
  The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.3.10] - 2026-07-18
8
+
9
+ ### Fixed
10
+
11
+ - **`get_install_command` no longer advertises or mislabels a `zed` client.** `zed` was in the client enum but the install builder never produced a zed config, so a zed request silently returned a different client's config under a `zed` header. Removed `zed` from the enum, and `formatInstall` now labels any fallback honestly (never presents one client's config under another client's name).
12
+ - **`check_tool_trust` schema example uses a real registry slug.** The `server_id` example was `"github"`, a short name that never resolves (always ERROR/UNVERIFIED); it now shows a real long-form slug (e.g. `io-github-microsoft-playwright-mcp`) and states it is not a short name.
13
+ - **`compare_servers` description no longer promises "transport types"** that the output table never contained.
14
+
7
15
  ## [0.3.9] - 2026-07-15
8
16
 
9
17
  ### Changed
package/README.md CHANGED
@@ -97,6 +97,8 @@ npx -y mcp-server-mcpindex@latest
97
97
 
98
98
  `check_tool_trust` is the **directory client** integration surface (not the in-path `mcpindex-gate`). It lets agent frameworks (Composio, Mastra, LangChain, DSPy, raw LLM-tool-call loops) ask for an advisory screen verdict before dispatching a call. At v1 you will see REVIEW or UNVERIFIED — not a safety clearance.
99
99
 
100
+ > **Using Mastra?** The sibling package `@mcp-index/mastra` ships this exact screen as a ready-made `beforeToolCall` hook - `npm i @mcp-index/mastra`, no wiring required.
101
+
100
102
  ### Verdict contract (v1)
101
103
 
102
104
  ```jsonc
@@ -217,6 +219,18 @@ By default, calls go to `https://mcpindex.ai`. Override with `MCPINDEX_API_BASE=
217
219
 
218
220
  The free tier is rate-limited to 60 req/min/IP. Paid keys are coming for higher throughput and the full evidence-bearing verdict (evidence quotes, LLM rationale, chain history).
219
221
 
222
+ ## Related packages
223
+
224
+ Three ways to bring mcpindex into an agent, for different surfaces:
225
+
226
+ | Package | Install | What it does |
227
+ | --- | --- | --- |
228
+ | **`mcp-server-mcpindex`** *(this package)* | `npm i -g mcp-server-mcpindex` | Directory + advisory screen as an MCP server: find servers by task, and `check_tool_trust` before a call. |
229
+ | **`@mcp-index/mastra`** | `npm i @mcp-index/mastra` | The same advisory screen wired into Mastra as a `beforeToolCall` hook (warn / enforce). |
230
+ | **`@mcp-index/sdk`** | `npm i @mcp-index/sdk` | In-path drift gate: `wrap()` an MCP session and HOLD a call when a tool's contract drifts from your pin. |
231
+
232
+ **Advisory screen vs drift gate:** this package and `@mcp-index/mastra` ask mcpindex "has this tool been vetted?" (a network verdict). `@mcp-index/sdk` asks a different question locally: "did this tool's contract change since I pinned it?" Complementary, and none depends on another.
233
+
220
234
  ## License
221
235
 
222
236
  MIT.
package/manifest.json CHANGED
@@ -2,11 +2,11 @@
2
2
  "manifest_version": "0.2",
3
3
  "name": "mcp-server-mcpindex",
4
4
  "display_name": "mcpindex",
5
- "version": "0.3.9",
5
+ "version": "0.3.10",
6
6
  "description": "The MCP directory that vets servers, not just lists them: search by task, then get an advisory screen on a server before an agent calls its tools. Advisory, conformance monitored not enforced, not a safety verdict.",
7
7
  "long_description": "mcpindex is the MCP directory that vets servers, not just lists them. Search by task to find the right server (ranked picks with install commands and quality scores), then get an advisory screen on a specific tool or a whole server before your agent calls it: whether each tool does what it claims. check_tool_trust and assess_server return an advisory verdict (REVIEW / UNVERIFIED at v1), backed by conformance monitoring and a live drift ledger, and fail closed to human review. Zero-config: queries the public mcpindex.ai API, no credentials. Monitored, not enforced; not a safety verdict and not an in-path gate.",
8
8
  "author": {
9
- "name": "Bhartis LLC",
9
+ "name": "mcpindex.ai",
10
10
  "email": "hello@mcpindex.ai",
11
11
  "url": "https://mcpindex.ai"
12
12
  },
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "mcp-server-mcpindex",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "mcpName": "io.github.gautamgb/mcp-server-mcpindex",
5
- "description": "The MCP directory that vets servers, not just lists them. Search by task, then get an advisory screen on a server before your agent calls its tools: whether each tool does what it claims, backed by conformance monitoring and a public drift ledger. Advisory (REVIEW / UNVERIFIED), monitored not enforced, not a safety verdict. Drop-in for Claude Desktop, Claude Code, Cursor, Gemini CLI, Cline, Zed.",
5
+ "description": "The MCP directory that vets servers, not just lists them. Search by task, then get an advisory screen on a server before your agent calls its tools: whether each tool does what it claims, backed by conformance monitoring and a public drift ledger. Advisory (REVIEW / UNVERIFIED), monitored not enforced, not a safety verdict. Drop-in for Claude Desktop, Claude Code, Cursor, Gemini CLI, Cline.",
6
6
  "keywords": [
7
7
  "mcp",
8
8
  "model-context-protocol",
@@ -24,7 +24,7 @@
24
24
  "bugs": {
25
25
  "url": "https://github.com/mcpindex-ai/mcpindex-web/issues"
26
26
  },
27
- "author": "Bhartis LLC <hello@mcpindex.ai>",
27
+ "author": "mcpindex.ai <hello@mcpindex.ai>",
28
28
  "license": "MIT",
29
29
  "type": "module",
30
30
  "main": "src/index.mjs",
package/src/index.mjs CHANGED
@@ -85,7 +85,11 @@ const TOOLS = [
85
85
  },
86
86
  client: {
87
87
  type: 'string',
88
- enum: ['claude-desktop', 'claude-code', 'cursor', 'gemini-cli', 'cline', 'zed'],
88
+ // Only clients the API actually generates a config for. 'zed' was advertised
89
+ // but never produced (buildInstalls has no zed branch), so a zed request silently
90
+ // fell back to another client's config; dropped until a real zed generator exists.
91
+ // formatInstall also labels any fallback honestly as defense-in-depth.
92
+ enum: ['claude-desktop', 'claude-code', 'cursor', 'gemini-cli', 'cline'],
89
93
  description: 'Target client.',
90
94
  },
91
95
  },
@@ -119,7 +123,8 @@ const TOOLS = [
119
123
  properties: {
120
124
  server_id: {
121
125
  type: 'string',
122
- description: 'Server slug (e.g. "github", "filesystem"). Same id used by search_mcp_servers.',
126
+ description:
127
+ 'Registry slug from search_mcp_servers / recommend results, e.g. "io-github-microsoft-playwright-mcp" (NOT a short name like "github").',
123
128
  },
124
129
  tool_name: {
125
130
  type: 'string',
@@ -266,15 +271,24 @@ function formatSearch(data) {
266
271
  function formatInstall(server, client) {
267
272
  // server here is the per-server JSON we expose at /api/v1/server/<slug>.
268
273
  // Returns a code block with the appropriate install snippet.
269
- const target = (server.installs ?? []).find((i) => i.client === client) ?? server.installs?.[0];
274
+ const exact = (server.installs ?? []).find((i) => i.client === client);
275
+ const target = exact ?? server.installs?.[0];
270
276
  if (!target) return `No install path available for ${server.name}`;
277
+ // Never mislabel a fallback as the requested client: if this server publishes no
278
+ // config for `client`, show the header for the config we're ACTUALLY returning and
279
+ // say so, so an agent doesn't paste (e.g.) a claude-desktop block into another client.
280
+ const shownClient = exact ? client : (target.client ?? client);
281
+ const fallbackNote = exact
282
+ ? ''
283
+ : `\n(No ${client}-specific config published for this server; showing the ${shownClient} config.)`;
271
284
  return [
272
- `${server.title} (${server.name}) - ${client}`,
285
+ `${server.title} (${server.name}) - ${shownClient}`,
273
286
  '',
274
287
  target.json
275
288
  ? '```json\n' + target.json + '\n```'
276
289
  : '```bash\n' + target.command + '\n```',
277
290
  target.notes ? '\n' + target.notes : '',
291
+ fallbackNote,
278
292
  `\n${server.url ?? `https://mcpindex.ai/server/${server.slug}`}`,
279
293
  ].join('\n');
280
294
  }
@@ -17,7 +17,7 @@
17
17
  {
18
18
  "name": "compare_servers",
19
19
  "title": "Compare MCP servers",
20
- "description": "Side-by-side comparison of 2-5 MCP servers - quality scores, install paths, transport types, env vars."
20
+ "description": "Side-by-side comparison of 2-5 MCP servers - quality scores, install paths, env vars."
21
21
  },
22
22
  {
23
23
  "name": "check_tool_trust",