Tool type: macOS productivity launcher Website: raycast.com Transport support: stdio only
Raycast does not natively support HTTP-based MCP servers. You need a stdio-to-HTTP bridge (like
mcp-remote) to connect to PiecesOS. See the mcp-remote guide for full documentation, or the stdio-to-HTTP Bridges section for a quick comparison of bridge options.
| Platform | Path |
|---|---|
| macOS | In the Raycast Extension support directory — open via Manage MCP Servers > Show Config File in Finder |
The file is named mcp-config.json. To find it:
- Open Raycast (Cmd+Space or your hotkey)
- Search for "Manage MCP Servers"
- Press Cmd+K → "Show Config File in Finder"
Raycast uses mcpServers as the root key. All servers must use type: "stdio".
See the mcp-remote guide for full documentation, all CLI flags, OAuth setup, and alternative bridge tools. Quick reference also at stdio-to-HTTP Bridges.
node --version # should print v18 or laterRecommended when PiecesOS and Raycast are on the same Mac.
{
"mcpServers": {
"pieces": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://localhost:39300/model_context_protocol/2024-11-05/sse"
]
}
}
}Use this to access PiecesOS running on a different machine. For ngrok setup, see: Connecting to PiecesOS from the Outside World via Ngrok.
{
"mcpServers": {
"pieces": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://YOUR_NGROK_URL.ngrok.app/model_context_protocol/2024-11-05/sse"
]
}
}
}- Open Raycast and search "Install Server"
- Fill in the form:
- Name: pieces
- Type: stdio
- Command: npx
- Args:
-y mcp-remote http://localhost:39300/model_context_protocol/2024-11-05/sse
After setup, use @pieces in Raycast AI (Quick AI, AI Chat, or Presets) to invoke Pieces tools. Raycast automatically shows AI all available servers.
Edit mcp-config.json (found via "Show Config File in Finder"), update the URL in args, and restart Raycast AI.
- Open Raycast AI Chat
- Type
@piecesto mention the server - Ask: "What tools do you have from Pieces?"
| Issue | Solution |
|---|---|
npx: command not found |
Install Node.js; ensure it's in your PATH (/usr/local/bin or /opt/homebrew/bin on macOS) |
| Bridge not connecting | Verify PiecesOS is running and the SSE endpoint responds: curl http://localhost:39300/.well-known/version |
| Config file location | Use Raycast's "Manage MCP Servers > Show Config File in Finder" to locate the exact path |
| macOS only | Raycast is currently macOS-only |
- Pieces MCP and LTM Tools Reference — Complete reference for all 39 tools available to your agents
- Connecting to PiecesOS via Ngrok — Expose your local Pieces server for remote access
- Bridging Local MCP Clients with mcp-remote — Connect stdio-only clients to the Pieces HTTP endpoint
| ← Back to All Agent Setup Guides |