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
description: How to set up a Shuttle Docs MCP server for use in AI editors
2
+
title: MCP server
3
+
description: How to set up the Shuttle MCP server for use in AI coding assistants
4
4
icon: sparkles
5
5
---
6
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.
7
+
To make Rust development even better, we've built the Shuttle MCP server.
8
8
9
-
## What’s this for?
9
+
The Shuttle [MCP server](https://modelcontextprotocol.io/) brings our entire documentation and tooling ecosystem directly into your favorite AI coding assistant. Think of it as having a Shuttle expert sitting right next to you while you code.
10
10
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.
11
+
## What's this for?
12
12
13
-
## Add to Cursor
13
+
The Shuttle MCP server supercharges your development workflow in two powerful ways:
14
14
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.
15
+
**Contextual Knowledge**: It acts as a bridge between Shuttle's comprehensive documentation and your AI coding assistant, providing instant access to Shuttle-specific guidance without leaving your editor. No more tab-switching between docs and code!
16
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:
17
+
**Powerful Development Tools**: Beyond just documentation, the MCP server gives your AI agent direct access to Shuttle's tooling ecosystem. Your assistant can help you deploy services, fetch logs, and interact with the Shuttle console - all through natural conversation. This makes Shuttle development significantly faster and more intuitive.
18
18
19
-
```json
19
+
## Installation
20
+
21
+
The Shuttle MCP server comes with the **Shuttle CLI (version 0.56 and later)**, make sure you have the [Shuttle CLI](https://docs.shuttle.dev/getting-started/installation) installed first.
22
+
23
+
## Configuration
24
+
25
+
Choose your preferred AI coding environment and add the Shuttle MCP server configuration.
26
+
27
+
<CodeGroup>
28
+
29
+
```json Cursor
20
30
{
21
31
"mcpServers": {
22
-
"shuttle": {
32
+
"Shuttle": {
23
33
"command": "shuttle",
24
34
"args": ["mcp", "start"]
25
35
}
26
36
}
27
37
}
28
38
```
29
39
30
-
## You’re all set! ✅
40
+
```json Windsurf
41
+
{
42
+
"mcpServers": {
43
+
"Shuttle": {
44
+
"command": "shuttle",
45
+
"args": ["mcp", "start"]
46
+
}
47
+
}
48
+
}
49
+
```
31
50
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.
| VSCode | User settings or `.vscode/mcp.json` (project) |
83
+
| Claude Desktop |**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`<br/>**Windows**: `%APPDATA%\Claude\claude_desktop_config.json`|
84
+
85
+
## You're all set! 🚀
86
+
87
+
Your AI coding assistant now has direct access to Shuttle's knowledge base and tooling. Whether you're deploying services, managing resources, or troubleshooting issues, your AI companion can provide contextual, accurate guidance powered by the official Shuttle documentation.
88
+
89
+
The integration works seamlessly in the background - just code naturally and let your AI assistant tap into Shuttle's expertise when needed. Happy coding!
36
90
37
91
## Other MCPs
38
92
@@ -41,20 +95,21 @@ We are working to make this even more powerful and would love to get your though
41
95
>
42
96
You can also get an MCP that only queries the Shuttle Docs via [Mintlify](https://mintlify.com/):
0 commit comments