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
Copy file name to clipboardExpand all lines: integrations/mcp-server.mdx
+37-17Lines changed: 37 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,38 +3,58 @@ title: MCP server (Cursor)
3
3
description: How to set up a Shuttle Docs MCP server for use in AI editors
4
4
icon: sparkles
5
5
---
6
-
Take your coding of Shuttle apps to the next level with an [MCP](https://modelcontextprotocol.io/introduction) server! Imagine having Shuttle's entire knowledge base directly integrated with your AI coding tools. That's exactly what the MCP server delivers.
7
6
7
+
Take your coding of Shuttle apps to the next level with an [MCP](https://modelcontextprotocol.io/introduction) server! Imagine having Shuttle's entire knowledge base directly integrated with your AI coding tools. That's exactly what the MCP server delivers.
8
8
9
9
## What’s this for?
10
10
11
11
The MCP server is a lightweight local service that bridges your Shuttle apps with AI editors like Cursor. It feeds your editor contextual knowledge about Shuttle's source code and documentation, supercharging your development experience.
12
12
13
-
14
-
## Set up local MCP wrapper
15
-
16
-
Make sure you have [Node.js](https://nodejs.org/) installed.
17
-
18
-
Shuttle Docs uses [Mintlify](https://mintlify.com/), which provides an easy way to run a local MCP server. Run this to set it up.
19
-
20
-
```sh
21
-
npx mint-mcp add shuttle
22
-
```
23
-
24
13
## Add to Cursor
25
14
26
-
To use the MCP server in [Cursor](https://www.cursor.com/) ([docs](https://docs.cursor.com/context/model-context-protocol)), adapt the command from the previous step and add it to Cursor's config:
15
+
The Shuttle CLI (version 0.56 and later) packs a built-in MCP server with tools for searching docs and executing basic shuttle commands.
16
+
17
+
To use the MCP server in [Cursor](https://www.cursor.com/) ([docs](https://docs.cursor.com/context/model-context-protocol)), adapt this to Cursor's config:
27
18
28
19
```json
29
20
{
30
21
"mcpServers": {
31
22
"shuttle": {
32
-
"command": "node",
33
-
"args": ["/home/user/.mcp/shuttle/src/index.js"]
23
+
"command": "shuttle",
24
+
"args": ["mcp", "start"]
34
25
}
35
26
}
36
27
}
37
28
```
38
29
39
-
## You’re all set! ✅
40
-
You should now be able to ask the Cursor agent Shuttle-related questions and get more detailed, informative answers—powered by your local Shuttle Docs MCP server. The Composer Agent will automatically use any MCP tools listed under Available Tools when relevant. To trigger Shuttle Docs MCP server tool intentionally, just tell the agent by referring to its name or description. We are working to make this even more powerful and would love to get your thoughts.
30
+
## You’re all set! ✅
31
+
32
+
You should now be able to ask the Cursor agent Shuttle-related questions and get more detailed, informative answers—powered by your local Shuttle Docs MCP server.
33
+
The Composer Agent will automatically use any MCP tools listed under Available Tools when relevant.
34
+
To trigger Shuttle Docs MCP server tool intentionally, just tell the agent by referring to its name or description.
35
+
We are working to make this even more powerful and would love to get your thoughts.
36
+
37
+
## Other MCPs
38
+
39
+
<Accordion
40
+
title="Shuttle Docs MCP via Mintlify"
41
+
>
42
+
You can also get an MCP that only queries the Shuttle Docs via [Mintlify](https://mintlify.com/):
0 commit comments