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: 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",
"name": "@mapbox/mcp-devkit-server",
"display_name": "Mapbox MCP DevKit Server",
"version": "0.4.2",
"version": "0.4.3",
"description": "Mapbox MCP devkit 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.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mapbox/mcp-devkit-server",
"version": "0.4.2",
"version": "0.4.3",
"description": "Mapbox MCP devkit server",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
Expand All @@ -20,7 +20,7 @@
"generate-version": "node scripts/build-helpers.cjs generate-version",
"sync-manifest": "node scripts/sync-manifest-version.cjs",
"dev": "tsc -p tsconfig.json --watch",
"dev:inspect": "npm run build && npx @modelcontextprotocol/inspector -e MAPBOX_ACCESS_TOKEN=\"$MAPBOX_ACCESS_PRIVATE_TOKEN\" node dist/esm/index.js"
"dev:inspect": "npx @modelcontextprotocol/inspector -e MAPBOX_ACCESS_TOKEN=\"$MAPBOX_ACCESS_PRIVATE_TOKEN\" npx -y tsx src/index.ts"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --fix",
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const server = new McpServer(
},
{
capabilities: {
logging: {},
tools: {},
resources: {}
}
Expand Down
2 changes: 1 addition & 1 deletion src/tools/BaseTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
*/
async run(
rawInput: unknown,
extra?: RequestHandlerExtra<any, any>

Check warning on line 46 in src/tools/BaseTool.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected any. Specify a different type

Check warning on line 46 in src/tools/BaseTool.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected any. Specify a different type
): Promise<z.infer<typeof OutputSchema>> {
try {
const input = this.inputSchema.parse(rawInput);
Expand Down Expand Up @@ -115,7 +115,7 @@
).shape,
annotations: this.annotations
},
(args: any, extra: any) => this.run(args, extra)

Check warning on line 118 in src/tools/BaseTool.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected any. Specify a different type

Check warning on line 118 in src/tools/BaseTool.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected any. Specify a different type
);
}

Expand All @@ -126,7 +126,7 @@
level: 'debug' | 'info' | 'warning' | 'error',
data: string | Record<string, unknown>
): void {
if (this.server) {
if (this.server?.server) {
this.server.server.sendLoggingMessage({ level, data });
}
}
Expand Down
Loading