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/task-workspace-url-hints.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@taskade/mcp-server': patch
---

Task and workspace tool results now include canonical Taskade URL hints (task node deep links, space and subspace URLs).
55 changes: 55 additions & 0 deletions packages/server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,61 @@ export class TaskadeMCPServer extends McpServer {
],
};
},
taskCreate: (response) => {
return {
content: [
{ type: 'text', text: JSON.stringify(response) },
{
type: 'text',
text: 'The url to new tasks is in the format of: https://www.taskade.com/d/{projectId}#node-{taskId}. Share the links with the user.',
},
],
};
},
taskGet: (response) => {
return {
content: [
{ type: 'text', text: JSON.stringify(response) },
{
type: 'text',
text: 'The url to this task is: https://www.taskade.com/d/{projectId}#node-{taskId}. Link it in your response.',
},
],
};
},
projectTasksGet: (response) => {
return {
content: [
{ type: 'text', text: JSON.stringify(response) },
{
type: 'text',
text: 'The url to tasks is in the format of: https://www.taskade.com/d/{projectId}#node-{taskId}. You should link all tasks in the response to the user.',
},
],
};
},
workspacesGet: (response) => {
return {
content: [
{ type: 'text', text: JSON.stringify(response) },
{
type: 'text',
text: 'The url to workspaces is in the format of: https://www.taskade.com/spaces/{workspaceId}. You should link all workspaces in the response to the user.',
},
],
};
},
workspaceFoldersGet: (response) => {
return {
content: [
{ type: 'text', text: JSON.stringify(response) },
{
type: 'text',
text: 'The url to workspace folders is in the format of: https://www.taskade.com/spaces/{workspaceId}/subspaces/{folderId}. You should link all folders in the response to the user.',
},
],
};
},
folderAgentGet: (response) => {
return {
content: [
Expand Down
Loading