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
@@ -79,10 +66,9 @@ export async function mcpCommand(options: McpCommandOptions) {
79
66
logger.loggerLevel="none";
80
67
81
68
constserver=newMcpServer({
82
-
name: "triggerdev",
83
-
version: "1.0.0",
84
-
description:
85
-
"Trigger.dev MCP server to automate your Trigger.dev projects and answer questions about Trigger.dev by searching the docs. If you need help setting up Trigger.dev in your project please refer to https://trigger.dev/docs/manual-setup. If the user asks for help with adding Trigger.dev to their project, please refer to https://trigger.dev/docs/manual-setup.",
69
+
name: serverMetadata.name,
70
+
version: serverMetadata.version,
71
+
description: serverMetadata.instructions,
86
72
});
87
73
88
74
server.server.oninitialized=async()=>{
@@ -103,19 +89,7 @@ export async function mcpCommand(options: McpCommandOptions) {
instructions: `Trigger.dev MCP server to automate your Trigger.dev projects and answer questions about Trigger.dev by searching the docs.
7
+
If you need help setting up Trigger.dev in your project please refer to https://trigger.dev/docs/manual-setup.
8
+
If the user asks for help with adding Trigger.dev to their project, please refer to https://trigger.dev/docs/manual-setup.
9
+
`,
10
+
};
11
+
12
+
exportconsttoolsMetadata={
13
+
search_docs: {
14
+
name: "search_docs",
15
+
title: "Search Docs",
16
+
description:
17
+
"Search across the Trigger.dev documentation to find relevant information, code examples, API references, and guides. Use this tool when you need to answer questions about Trigger.dev, find specific documentation, understand how features work, or locate implementation details. The search returns contextual content with titles and direct links to the documentation pages",
18
+
},
19
+
list_projects: {
20
+
name: "list_projects",
21
+
title: "List Projects",
22
+
description:
23
+
"List all projects for the current user, useful for when searching for a project and for looking up a projectRef",
24
+
},
25
+
list_orgs: {
26
+
name: "list_orgs",
27
+
title: "List Organizations",
28
+
description:
29
+
"List all organizations for the current user. Useful when looking up an org slug or ID.",
30
+
},
31
+
create_project_in_org: {
32
+
name: "create_project_in_org",
33
+
title: "Create Project in Organization",
34
+
description:
35
+
"Create a new project in an organization. Only do this if the user wants to add Trigger.dev to an existing project. If there is already a trigger.config.ts file present, then you should not create a new project.",
36
+
},
37
+
initialize_project: {
38
+
name: "initialize_project",
39
+
title: "Initialize Project",
40
+
description:
41
+
"Initialize Trigger.dev in your project. This will create a new project in the organization you select and add Trigger.dev to your project.",
42
+
},
43
+
get_tasks: {
44
+
name: "get_tasks",
45
+
title: "Get Tasks",
46
+
description:
47
+
"Get all tasks in the project. Useful when searching for a task and for looking up a task identifier/slug",
48
+
},
49
+
trigger_task: {
50
+
name: "trigger_task",
51
+
title: "Trigger Task",
52
+
description:
53
+
"Trigger a task in the project. Use the get_tasks tool to get a list of tasks and ask the user to select one if it's not clear which one to use.",
54
+
},
55
+
get_run_details: {
56
+
name: "get_run_details",
57
+
title: "Get Run Details",
58
+
description:
59
+
"Get the details of a run. The run ID is the ID of the run that was triggered. It starts with run_",
60
+
},
61
+
cancel_run: {
62
+
name: "cancel_run",
63
+
title: "Cancel Run",
64
+
description:
65
+
"Cancel a run. The run ID is the ID of the run that was triggered. It starts with run_",
66
+
},
67
+
list_runs: {
68
+
name: "list_runs",
69
+
title: "List Runs",
70
+
description:
71
+
"List all runs for a project. Use this tool when you need to search for a run or list all runs for a project.",
72
+
},
73
+
deploy: {
74
+
name: "deploy",
75
+
title: "Deploy",
76
+
description:
77
+
"Deploy a project. Use this tool when you need to deploy a project. This will trigger a deployment for the project.",
78
+
},
79
+
list_deploys: {
80
+
name: "list_deploys",
81
+
title: "List Deploys",
82
+
description:
83
+
"List all deploys for a project. Use this tool when you need to search for a deploy or list all deploys for a project.",
84
+
},
85
+
list_preview_branches: {
86
+
name: "list_preview_branches",
87
+
title: "List Preview Branches",
88
+
description:
89
+
"List all preview branches for a project. Use this tool when you need to search for a preview branch or list all preview branches for a project.",
0 commit comments