MCP clients can register a ServiceStack MCP server via a single CLI command or by configuring their respective MCP settings.
Claude Code​
Add via the Claude Code CLI:
Or configure directly in ~/.claude.json:
Claude Desktop​
Claude Desktop connects to remote MCP servers using mcp-remote configured in claude_desktop_config.json
- Windows:
~/Library/Application Support/Claude/claude_desktop_config.json - macOS:
%APPDATA%\Claude\claude_desktop_config.json
Codex​
Add via the Codex CLI:
Or configure in ~/.codex/config.toml:
[mcp_servers.coffeeshop]
url = "https://example.org/chat/mcp"
http_headers = { "Authorization" = "Bearer ak-xxxx" }
Open Code​
Configure in opencode.json (or .opencode/mcp.json):
Antigravity​
Configure in ~/.gemini/antigravity/mcp_config.json or .gemini/mcp.json:
Or configure via the Antigravity IDE UI under Settings > MCP Servers.
ZCode​
Configure in ~/.zcode/cli/config.json:
Oh My Pi​
Register from the prompt:
Once registered, the client discovers the available tools and lists them alongside its other MCP servers:
Troubleshooting​
Local Development
For local development, many MCP clients won't accept .NET's self-signed development HTTPS certificate.
Workarounds include:
- Connecting to the plaintext HTTP endpoint instead:
- Using Tailscale Funnel to expose your local port with a trusted TLS certificate: