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
5 changes: 5 additions & 0 deletions .changeset/server-sdk-1-32.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@taskade/mcp-server": patch
---

Bundle `@modelcontextprotocol/sdk` 1.32.1 (was 1.12.1) with one copy of zod (3.25.28). The server accepts MCP protocol versions up to `2025-11-25`. A tool call with invalid arguments, or with an unknown tool name, now returns a tool result with `isError: true` instead of a JSON-RPC error, so the model can read the message and correct the call. The tool names and their order do not change. The `initialize` response no longer echoes an unused `capabilities` object inside `serverInfo`.
2 changes: 1 addition & 1 deletion packages/openapi-codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"prettier": "^3.5.3"
},
"devDependencies": {
"@modelcontextprotocol/sdk": "^1.12.0",
"@modelcontextprotocol/sdk": "^1.32.1",
"@readme/openapi-parser": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"start:server": "tsx src/http.ts --watch"
},
"devDependencies": {
"@modelcontextprotocol/sdk": "^1.12.0",
"@modelcontextprotocol/sdk": "^1.32.1",
"@taskade/mcp-openapi-codegen": "*",
"mcp-proxy": "^3.2.0",
"node-fetch": "^3.3.2",
Expand Down
5 changes: 5 additions & 0 deletions packages/server/src/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,9 @@ describe('TaskadeMCPServer API requests', () => {
expect(init.headers['User-Agent']).toBe(`taskade-mcp-server/${packageVersion}`);
expect(init.headers.Authorization).toBe('Bearer test-access-token');
});

it('advertises tools and no resources, and sends only the name and version as serverInfo', () => {
expect(client.getServerCapabilities()).toEqual({ tools: { listChanged: true } });
expect(client.getServerVersion()).toEqual({ name: 'taskade', version: packageVersion });
});
});
10 changes: 2 additions & 8 deletions packages/server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,8 @@ export class TaskadeMCPServer extends McpServer {
readonly config: TaskadeServerOpts;

constructor(opts: TaskadeServerOpts) {
super({
name: 'taskade',
version,
capabilities: {
resources: {},
tools: {},
},
});
// McpServer advertises the tools capability itself. The server has no resources to advertise.
super({ name: 'taskade', version });

this.config = opts;

Expand Down
Loading
Loading