mcp-server-mcpindex 0.2.0 → 0.2.2

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,23 @@ 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.2.2] - 2026-05-31
8
+
9
+ ### Changed
10
+
11
+ - **Repository metadata now points at the monorepo source.** `repository` is `mcpindex-ai/mcpindex-web` with `"directory": "mcp-server-mcpindex"` (the npm-standard convention for a package whose source lives in a monorepo subdirectory), and `bugs` points at that repo's issues. The previously-linked standalone repo `mcpindex-ai/mcp-server-mcpindex` was an orphaned `0.1.0` snapshot (pre-trust, no `trust.mjs`); it has been archived in favor of a single source of truth. No code change - `npm install` behaves identically to `0.2.1`.
12
+
13
+ ### Added
14
+
15
+ - **`npm run release`** - one-command release (syntax check, tests, CHANGELOG-entry assertion, version, publish, tag) so the source-to-npm step can no longer drift by being done by hand.
16
+ - **`npm run check-published`** - fails when the in-tree version is ahead of the published npm version (catches "edited but forgot to publish").
17
+
18
+ ## [0.2.1] - 2026-05-29
19
+
20
+ ### Fixed
21
+
22
+ - **HTTP `User-Agent` header was pinned to a stale literal `"mcp-server-mcpindex/0.1.0"`** in one code path (`src/index.mjs` `api()` helper), while every other call site interpolated `PKG_VERSION`. Result: outbound discovery requests reported `0.1.0` and trust-verdict calls reported `0.2.0` from the same package version. Now uses `` `mcp-server-mcpindex/${PKG_VERSION}` `` consistently. Affects upstream analytics + rate-limit bucketing if mcpindex.ai ever keys on UA.
23
+
7
24
  ## [0.2.0] - 2026-05-28
8
25
 
9
26
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-server-mcpindex",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "An MCP server for finding MCP servers, plus advisory trust verdicts (check_tool_trust, assess_server) for agent frameworks. Drop-in for Claude Desktop, Cursor, Cline, Zed.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -16,10 +16,11 @@
16
16
  "homepage": "https://mcpindex.ai",
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "https://github.com/mcpindex-ai/mcp-server-mcpindex"
19
+ "url": "https://github.com/mcpindex-ai/mcpindex-web",
20
+ "directory": "mcp-server-mcpindex"
20
21
  },
21
22
  "bugs": {
22
- "url": "https://github.com/mcpindex-ai/mcp-server-mcpindex/issues"
23
+ "url": "https://github.com/mcpindex-ai/mcpindex-web/issues"
23
24
  },
24
25
  "author": "Bhartis LLC <hello@mcpindex.ai>",
25
26
  "license": "MIT",
@@ -39,7 +40,9 @@
39
40
  ],
40
41
  "scripts": {
41
42
  "build": "node --check src/index.mjs && node --check src/trust.mjs",
42
- "test": "node --test test/*.test.mjs"
43
+ "test": "node --test test/*.test.mjs",
44
+ "check-published": "node scripts/check-published.mjs",
45
+ "release": "node scripts/release.mjs"
43
46
  },
44
47
  "dependencies": {
45
48
  "@modelcontextprotocol/sdk": "^1.0.0"
package/src/index.mjs CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  export { checkToolTrust, assessServer, VERDICT_CONTRACT_VERSION, V1_HONEST_LIMITS } from './trust.mjs';
12
12
 
13
13
  const API_BASE = process.env.MCPINDEX_API_BASE ?? 'https://mcpindex.ai';
14
- const PKG_VERSION = '0.2.0';
14
+ const PKG_VERSION = '0.2.1';
15
15
 
16
16
  const server = new Server(
17
17
  { name: 'mcp-server-mcpindex', version: PKG_VERSION },
@@ -136,7 +136,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOLS }))
136
136
 
137
137
  async function api(path) {
138
138
  const res = await fetch(`${API_BASE}${path}`, {
139
- headers: { 'User-Agent': 'mcp-server-mcpindex/0.1.0' },
139
+ headers: { 'User-Agent': `mcp-server-mcpindex/${PKG_VERSION}` },
140
140
  });
141
141
  if (!res.ok) {
142
142
  throw new Error(`mcpindex API ${res.status}: ${await res.text()}`);