diff --git a/CHANGELOG.md b/CHANGELOG.md index 2132a74..db46328 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## Unreleased +## 0.15.1 - 2026-10-09 + ### New Features - **`@mapbox/mcp-server/utils` now exports the server setup helpers, so servers built from the subpath exports get the #268 and #269 fixes (#271).** `publishJsonSchema2020`, `toJsonSchema2020`, and `buildServerInstructions` were only used by this package's own entry point (`src/index.ts`). Anything that builds its own `McpServer` from `@mapbox/mcp-server/tools` and installs the tools itself, which is how the hosted server at `mcp.mapbox.com` works, still published draft-07 schemas (rejected by Claude Desktop) and sent no server instructions (so models that load tools lazily keep picking `static_map_image_tool` over `render_map_tool`). Upgrading to 0.15.0 alone fixed neither. Such a server can now call `publishJsonSchema2020(server)` before installing tools and pass `instructions: buildServerInstructions()` when creating the server. The custom-server example in `docs/importing-tools.md` called `.definition` and `.execute()`, which the tools don't have; it now uses `getAllTools()`/`getAllResources()`, `installTo()`, and both helpers. Added export tests, including one that builds an external `McpServer` from the subpath exports and checks that it lists 2020-12 schemas and sends the instructions. Checked that the built package exposes all three helpers under both ESM and CommonJS. diff --git a/manifest.json b/manifest.json index 18ade6f..c4ad2ac 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "dxt_version": "0.1", "display_name": "Mapbox MCP Server", "name": "@mapbox/mcp-server", - "version": "0.15.0", + "version": "0.15.1", "description": "Mapbox MCP server.", "author": { "name": "Mapbox, Inc." diff --git a/package-lock.json b/package-lock.json index 0a48db2..d68c45c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mapbox/mcp-server", - "version": "0.15.0", + "version": "0.15.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mapbox/mcp-server", - "version": "0.15.0", + "version": "0.15.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 30db147..a54dd02 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mapbox/mcp-server", - "version": "0.15.0", + "version": "0.15.1", "description": "Mapbox MCP server.", "mcpName": "io.github.mapbox/mcp-server", "main": "./dist/commonjs/index.js", diff --git a/server.json b/server.json index 4befc72..09963c5 100644 --- a/server.json +++ b/server.json @@ -6,13 +6,13 @@ "url": "https://github.com/mapbox/mcp-server", "source": "github" }, - "version": "0.15.0", + "version": "0.15.1", "packages": [ { "registryType": "npm", "registryBaseUrl": "https://registry.npmjs.org", "runtimeHint": "npx", - "version": "0.15.0", + "version": "0.15.1", "identifier": "@mapbox/mcp-server", "transport": { "type": "stdio"