Starting GSD Pi as an MCP Server
Run GSD Pi in MCP server mode over stdin/stdout:tools/list and tools/call requests to GSD tool definitions. It runs until the transport closes.
Configuring MCP Clients
Automatic Setup
When GSD detects a Claude Code model during startup, it automatically writes a.mcp.json file in your project root with the GSD workflow MCP server configured. No manual steps are needed — start GSD once with Claude Code as the provider and the config is created for you.
You can also trigger this manually from inside a GSD session:
Manual Configuration
Add GSD Pi to your project’s.mcp.json file:
Supported Clients
Claude Desktop
Add the
gsd server entry to your Claude Desktop MCP configuration. GSD’s full workflow tool surface becomes available in every Claude conversation.VS Code Copilot
Place
.mcp.json in the project root. VS Code Copilot discovers it automatically and exposes GSD tools to GitHub Copilot Chat.Cursor
Add GSD to Cursor’s MCP settings to access GSD milestone and task management directly from the Cursor editor.
Any MCP-Compatible Client
Any client that implements the MCP specification can connect. Use stdio transport for local tools, or HTTP transport for remote setups.
What Tools Are Exposed
The MCP server exposes GSD’s complete workflow tool surface, including:- Milestone planning, slice management, and task completion
- Roadmap reassessment and requirement tracking
- Journal queries and session history
- Session management tools (
gsd_execute,gsd_status,gsd_result,gsd_cancel) for starting and monitoring auto-mode sessions
/gsd mcp status from inside a GSD session to verify the connection and list available tools.
Cloud MCP Gateway
The Cloud MCP Gateway lets remote MCP clients call GSD workflow tools through a local runtime — useful when your AI client can’t reach your workstation directly but your workstation can open an outbound connection.How It Works
- A gateway process (
gsd-cloud-mcp-gateway) runs on a publicly reachable server - Your local GSD runtime connects to the gateway with a device token
- Remote MCP clients send tool calls to the gateway, which forwards them to your local runtime
Setting Up the Gateway
On your gateway server:Pairing a Local Runtime
Generate a pairing code, then pair your local machine:Connecting to the Gateway
Start the local runtime connection. It maintains a persistent WebSocket to the gateway and forwards tool calls to GSD:Connecting Remote MCP Clients
Point any MCP client at the gateway MCP endpoint:runtimeId or projectAlias in the call to specify which runtime to target.
JSON-RPC Mode
For programmatic integration that doesn’t require full MCP protocol, GSD Pi also supports a JSON-RPC interface over stdin/stdout:--mode mcp for standard MCP client integration.
Managing MCP Connections
Inspect and manage MCP server connections from inside a GSD session:| Command | Description |
|---|---|
/gsd mcp status | Show configured servers and connection state |
/gsd mcp check | Verify servers are reachable |
/gsd mcp discover | List tools available from each server |
/gsd mcp test | Send a test call to verify a server |
/gsd mcp enable <name> | Enable a disabled server |
/gsd mcp disable <name> | Disable a server without removing config |
/gsd mcp import | Import server config from a file |
/gsd mcp delete <name> | Remove a server from config |
/gsd mcp init | Auto-write .mcp.json for Claude Code integration |
