agentdocs-mcp
Advanced tools
+10
-0
@@ -7,2 +7,12 @@ # Changelog | ||
| ## 0.6.2 — 2026-07-11 | ||
| ### Fixed | ||
| - The server no longer reports a stale version. `VERSION` was a hardcoded | ||
| `"0.5.2"` literal in `src/index.ts` that had not been updated since the 0.5.2 | ||
| release, so both the stdio startup banner and — more importantly — the | ||
| `version` advertised to every client in the MCP `initialize` handshake were | ||
| two releases behind the actual package. It is now read from `package.json` at | ||
| runtime, so it cannot drift again. | ||
| ## 0.6.1 — 2026-07-06 | ||
@@ -9,0 +19,0 @@ |
+6
-1
| #!/usr/bin/env node | ||
| import { createRequire } from "node:module"; | ||
| import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; | ||
@@ -11,3 +12,7 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; | ||
| import { registerCommentTools } from "./tools/comments.js"; | ||
| const VERSION = "0.5.2"; | ||
| // Read from package.json rather than a literal: this is the version reported to | ||
| // every client in the MCP initialize handshake, and a hand-maintained copy had | ||
| // silently drifted two releases behind. | ||
| const pkg = createRequire(import.meta.url)("../package.json"); | ||
| const VERSION = pkg.version; | ||
| async function detectCredential(client) { | ||
@@ -14,0 +19,0 @@ const me = await client.request("GET", "/api/auth/me"); |
+1
-1
| { | ||
| "name": "agentdocs-mcp", | ||
| "mcpName": "io.github.hoornet/agentdocs-mcp", | ||
| "version": "0.6.1", | ||
| "version": "0.6.2", | ||
| "description": "MCP server for AgentDocs (agentdocs.eu) — read, search, and write collaborative docs from any MCP client", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
49905
1.58%687
0.73%5
25%