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
5.**Publish via the [mcp-server-publisher](https://github.com/mapbox/mcp-server-publisher) workflow:**
110
+
- Go to Actions > "Manual Release MCP Server to NPM and MCP Registry"
111
+
- Select `mcp-devkit-server` from the repository dropdown
112
+
- Enter the version (must match `package.json` exactly)
113
+
- The workflow builds, tests, publishes to NPM (`@mapbox/mcp-devkit-server`), publishes to the MCP Registry, creates a DXT package, and creates a GitHub release
103
114
104
115
The `changelog:prepare-release` script automatically:
105
116
106
117
- Replaces "## Unreleased" with "## {version} - {date}"
107
118
- Adds a new empty "## Unreleased" section at the top
108
119
- Validates version format and CHANGELOG structure
109
120
121
+
The `sync-manifest-version` script automatically:
122
+
123
+
- Reads the version from `package.json`
124
+
- Updates `manifest.json` and `server.json` (including `packages[0].version`) if they differ
125
+
110
126
## Important Constraints
111
127
112
128
-**Tool naming:** Tool names (MCP identifiers) must be `snake_case_tool` (e.g., `list_styles_tool`). TypeScript class names follow `PascalCaseTool` convention (e.g., `ListStylesTool`)
**Solution:** The GeoJSON preview tool may be slow with very large files. Consider simplifying geometries or using smaller datasets for preview purposes.
1339
1340
1341
+
## Release Process
1342
+
1343
+
Follow these steps to publish a new release:
1344
+
1345
+
1.**Bump the version in `package.json`** to the target version (e.g., `1.0.0`).
1346
+
1347
+
2.**Sync versions** across `manifest.json` and `server.json`:
1348
+
1349
+
```bash
1350
+
node scripts/sync-manifest-version.cjs
1351
+
```
1352
+
1353
+
This reads the version from `package.json` and updates `manifest.json` and `server.json` (including `packages[0].version`) to match.
1354
+
1355
+
3.**Prepare the changelog** — this replaces the "Unreleased" heading with the version and date:
5.**Publish via the [mcp-server-publisher](https://github.com/mapbox/mcp-server-publisher) workflow:**
1371
+
- Go to the Actions tab in the `mcp-server-publisher` repo
1372
+
- Select "Manual Release MCP Server to NPM and MCP Registry"
1373
+
- Choose `mcp-devkit-server` from the repository dropdown
1374
+
- Enter the version — it **must exactly match** the `package.json` version
1375
+
- Leave the branch field empty for stable releases (or specify a branch for dev releases)
1376
+
- The workflow will: build, test, publish to NPM (`@mapbox/mcp-devkit-server`), publish to the MCP Registry, create a DXT package, and create a GitHub Release
1377
+
1378
+
### Version Files
1379
+
1380
+
The following files must have matching versions before publishing:
0 commit comments