You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: merge main into otel-2x branch, resolve conflicts
- Merge CHANGELOG entries from main (tshy/vitest/typescript upgrades)
- Regenerate package-lock.json with --legacy-peer-deps to resolve
OTel 2.x peer dependency constraints
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,14 @@
1
1
## Unreleased
2
2
3
+
### Removed
4
+
5
+
-**`get_latest_mapbox_docs_tool` and `get_reference_tool` removed** — documentation fetching has moved to [mcp-docs-server](https://github.com/mapbox/mcp-docs-server). Use mcp-docs-server alongside this server for Mapbox documentation access. Static reference data (style layers, Streets v8 fields, token scopes, layer type mapping) remains available as MCP Resources.
6
+
- Removed `CLIENT_NEEDS_RESOURCE_FALLBACK` environment variable and resource fallback tool pattern
7
+
3
8
### Dependencies
4
9
5
10
-**Upgrade OpenTelemetry to 2.x** — upgraded `@opentelemetry/resources` and `@opentelemetry/sdk-trace-base` from `^1.30.1` to `^2.6.1`; upgraded experimental packages (`sdk-node`, `instrumentation`, `exporter-trace-otlp-http`) from `^0.56.0` to `^0.214.0`; upgraded `auto-instrumentations-node` to `^0.72.0` and `semantic-conventions` to `^1.40.0`; migrated `new Resource()` to `resourceFromAttributes()` following the 2.x API change
6
-
11
+
-**Upgrade `tshy` to `^4.1.1`, `vitest`/`@vitest/coverage-istanbul` to `^4.1.4`, `typescript` to `^6.0.2`** — removed deprecated `baseUrl` from `tsconfig.base.json` (TS6)
7
12
-**Upgrade `zod` from `^3.25.42` to `^4.3.6`** — migrated all `z.record()` calls to require explicit key schema (`z.string()`), updated test assertions for changed error message format
Copy file name to clipboardExpand all lines: README.md
+4-49Lines changed: 4 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
A Model Context Protocol (MCP) server that provides AI assistants with direct access to Mapbox developer APIs. This server enables AI models to interact with Mapbox services, helping developers build Mapbox applications more efficiently.
4
4
5
+
> **Looking for Mapbox documentation access?** Use [mcp-docs-server](https://github.com/mapbox/mcp-docs-server) alongside this server — it provides AI assistants with access to Mapbox documentation, guides, and API references from docs.mapbox.com.
@@ -116,27 +117,9 @@ The `MAPBOX_ACCESS_TOKEN` environment variable is required. **Each tool requires
116
117
117
118
## Tools
118
119
119
-
### Documentation Tools
120
-
121
-
**get_latest_mapbox_docs_tool** - Access the latest official Mapbox documentation directly from the source. This tool fetches comprehensive, up-to-date information about all Mapbox APIs, SDKs, and developer resources from docs.mapbox.com/llms.txt.
122
-
123
-
**Example prompts:**
124
-
125
-
- "What are the latest Mapbox APIs available for developers?"
126
-
- "Show me all current Mapbox services and SDKs"
127
-
- "I need up-to-date Mapbox documentation for my project"
128
-
- "What mapping solutions does Mapbox offer for my tech stack?"
129
-
- "Give me an overview of Mapbox's navigation and routing capabilities"
130
-
- "Compare Mapbox web SDKs versus mobile SDKs"
131
-
- "What's new in the Mapbox ecosystem?"
132
-
133
-
📖 **[See more examples and interactive demo →](./docs/mapbox-docs-tool-demo.md)**
134
-
135
120
### Reference Tools
136
121
137
-
**get_reference_tool** - Access static Mapbox reference documentation and schemas. This tool provides essential reference information that helps AI assistants understand Mapbox concepts and build correct styles and tokens.
138
-
139
-
> **Note:** This tool exists as a workaround for Claude Desktop's current limitation with MCP resources. Claude Desktop can see resources (via `resources/list`) but doesn't automatically call `resources/read` to fetch their content. This tool provides the same reference data through the tool interface, which Claude Desktop does support. Other MCP clients that fully support the resources protocol can access this data directly as MCP Resources (see [Resources](#resources) section below).
122
+
Reference data is exposed as MCP Resources (see [Resources](#resources) section). MCP clients that support the resources protocol can access them directly.
140
123
141
124
**Available References:**
142
125
@@ -1053,7 +1036,7 @@ See the [mapbox-style-quality skill](skills/mapbox-style-quality/SKILL.md) for d
1053
1036
1054
1037
## Resources
1055
1038
1056
-
This server exposes static reference documentation as MCP Resources. While these are primarily accessed through the `get_reference_tool`, MCP clients that fully support the resources protocol can access them directly.
1039
+
This server exposes static reference documentation as MCP Resources. MCP clients that support the resources protocol can access them directly.
1057
1040
1058
1041
**Available Resources:**
1059
1042
@@ -1080,11 +1063,6 @@ This server exposes static reference documentation as MCP Resources. While these
-**Claude Desktop & Most MCP Clients**: Use the `get_reference_tool` to access these references
1086
-
-**Future MCP Clients**: May support direct resource access via the MCP resources protocol
1087
-
1088
1066
**Note:** Resources provide static reference data that doesn't change frequently, while tools provide dynamic, user-specific data (like listing your styles or tokens) and perform actions (like creating styles or tokens).
**Note:** You typically don't need to disable this. All clients receive a usable text URL regardless; interactive previews are a progressive enhancement on top.
1313
1291
1314
-
#### CLIENT_NEEDS_RESOURCE_FALLBACK
1315
-
1316
-
**Resource Fallback Tools (Opt-In for Non-Compliant Clients)**
1317
-
1318
-
Resources are a core MCP feature supported by most clients (Claude Desktop, VS Code, MCP Inspector, etc.). However, some clients (like smolagents) don't support resources at all. For these clients, the server can provide "resource fallback tools" that deliver the same content as resources but via tool calls.
1319
-
1320
-
**Fallback Tools:**
1321
-
1322
-
-`get_reference_tool` - Access to style layers, Streets v8 fields, token scopes, layer type mapping
1323
-
-`get_latest_mapbox_docs_tool` - Access to Mapbox documentation
1324
-
1325
-
**By default, these tools are NOT included** (assumes your client supports resources). If your client doesn't support resources, enable the fallback tools:
1326
-
1327
-
```bash
1328
-
export CLIENT_NEEDS_RESOURCE_FALLBACK=true
1329
-
```
1330
-
1331
-
**When to set this:**
1332
-
1333
-
- ✅ Set to `true` if using smolagents or other clients without resource support
1334
-
- ❌ Leave unset (default) if using Claude Desktop, VS Code, MCP Inspector, or any resource-capable client
1335
-
- ❌ Leave unset if unsure (most clients support resources)
0 commit comments