Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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(<enabled tool names>)` 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.
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions server.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading