mcp-server-mcpindex 0.2.0 → 0.2.1
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 +6 -0
- package/package.json +1 -1
- package/src/index.mjs +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ 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.1] - 2026-05-29
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **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.
|
|
12
|
+
|
|
7
13
|
## [0.2.0] - 2026-05-28
|
|
8
14
|
|
|
9
15
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-server-mcpindex",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
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",
|
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.
|
|
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':
|
|
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()}`);
|