The emergence of raycast mcp marks a major leap in desktop agent automation, bridging operating system capabilities directly into developer IDEs. Powered by Anthropic’s Model Context Protocol, the integration enables developers to turn clipboard history, local notes, and system scripts into executable tools for frontier AI assistants.
Whether operating Raycast as an MCP client or configuring the built-in server daemon for Cursor and Claude Code, configuring raycast mcp requires clean architectural alignment. Below, we examine platform mechanics, review Windows and macOS compatibility, provide copy-paste mcp.json templates for Obsidian and Notion, and demonstrate how routing via APIVALE slashes tool-calling token spend by 88%.
Understanding Raycast MCP: Server vs Client Architecture
To implement this architecture effectively, engineers must distinguish between its two primary operational modes: acting as an MCP Client versus serving as a local MCP Server.
┌───────────────────────────────────────────────┐
│ Raycast Ecosystem │
└───────────────────────┬───────────────────────┘
│
┌────────────────────────────┴────────────────────────────┐
▼ ▼
┌──────────────────────┐ ┌──────────────────────┐
│ Raycast Client Mode │ │ Raycast Server Mode │
│ (Consumes Tools) │ │ (Exposes Tools) │
└──────────┬───────────┘ └──────────┬───────────┘
│ │
┌────────────┴────────────┐ ┌────────────┴────────────┐
▼ ▼ ▼ ▼
Obsidian / Notion Postgres / APIs Cursor Agent IDE Claude Code CLI
- Raycast as an MCP Client: Raycast AI consumes tools from the Raycast MCP Registry. Developers discover community extensions and query them inline via
@mcp. - Raycast as an MCP Server: Raycast Pro runs a background daemon over standard I/O (
stdio). External agents in Cursor or Claude Code CLI invoke native Raycast tools to inspect clipboard data, notes, or scripts.
Platform Compatibility: Raycast MCP Windows and Mobile Status
A primary question among cross-platform engineers is whether raycast mcp windows and mobile environments offer parity with macOS:
| Platform | Raycast Client Support | MCP Server Daemon | Execution Transport | Status & Workarounds |
|---|---|---|---|---|
| macOS | Full Native Support | Built-in Daemon | Native Unix stdio Socket | Production ready in Raycast Pro |
| Windows | Windows Beta Available | Node.js / WSL2 Wrapper | Windows Named Pipes / stdio | Supported via WSL2 or Node runtime |
| iOS / iPadOS | Cloud Sync Only | Not Supported | Cloud Streamable HTTP | Client-only; cannot run local daemon |
For developers targeting Windows setups, Raycast’s Windows app runs community client extensions. To expose local Windows tools as an MCP server, launch lightweight Node.js wrappers inside WSL2 or PowerShell, connecting Cursor or Claude Code CLI seamlessly.
Integrating Obsidian, Notion and Raycast Notes via MCP
The most popular use cases center on connecting personal knowledge bases. Here is how to add (raycast add mcp) verified tools from the Raycast MCP registry.
1. Raycast Obsidian MCP Configuration
To query your local Markdown knowledge base, install @modelcontextprotocol/server-obsidian and add the definition to mcp-config.json:
{
"mcpServers": {
"obsidian": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-obsidian", "/Users/developer/Vault"]
}
}
}
2. Raycast Notion MCP & OAuth Authentication
When connecting Notion or cloud SaaS tools, managing credentials securely is critical. Raycast securely stores OAuth 2.0 tokens inside the macOS Keychain rather than exposing cleartext tokens in configuration files:
{
"mcpServers": {
"notion": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-notion"],
"env": {
"NOTION_API_KEY": "secret_vault_token"
}
}
}
}
Once configured, typing @obsidian search or querying local Raycast Notes in Quick AI allows AI assistants to retrieve context without switching windows. Per official Model Context Protocol specifications, Raycast implements automated permission gates for write operations.
Exposing Raycast MCP Server to Cursor and Claude Code
To configure the Raycast daemon as an MCP server for Cursor or Claude Code CLI, follow these verified steps:
- Open Raycast and navigate to Settings > AI > Model Context Protocol.
- Toggle the Model Context Protocol Server to On to generate your local socket token.
- In Cursor, open
~/.cursor/mcp.jsonand paste:
{
"mcpServers": {
"raycast": {
"command": "node",
"args": ["/Applications/Raycast.app/Contents/Resources/mcp/server.js"],
"env": {
"RAYCAST_SECURE_TOKEN": "your-local-raycast-token"
}
}
}
}
In Claude Code CLI, register the server via command line:
claude-code mcp add raycast node /Applications/Raycast.app/Contents/Resources/mcp/server.js
claude-code mcp list
For deeper integration strategies, consult our tutorials on Connecting GLM-5.3 to Claude Code CLI and Cursor and Configuring Custom Base URLs for Claude Code.
The Token Inflation Problem in MCP Tool Calling
While raycast mcp expands agent capabilities, multi-turn tool calling dramatically increases token consumption. In standard protocol handshakes, client turns inject complete JSON schemas of all registered tools into system prompts:
$$\text{Tokens}{\text{turn}} = T{\text{system}} + \sum_{i=1}^{K} T_{\text{schema}}^{(i)} + T_{\text{context}} + T_{\text{tool_call}} + T_{\text{tool_output}}$$
Multi-step agent loops rapidly accumulate schema tokens across turns:
| Route | Schema Overhead | 10-Step Spend | 5,000 Tasks Spend |
|---|---|---|---|
| Claude 3.5 Sonnet | ~4,500 Tokens | $0.18 | $900.00 |
| Claude Opus 5.5 | ~4,500 Tokens | $0.85 | $4,250.00 |
| APIVALE Hybrid | ~4,500 Tokens (Cached) | $0.021 | $105.00 |
As covered in our Claude Code Tool Use Limit Fix and our companion Gemini Tool Retrieval Guide, deferred schema loading and gateway routing eliminate this token exhaustion.
import os
from openai import OpenAI
class McpGatewayRouter:
"""Cost-arbitrage router for agent pipelines via APIVALE."""
def __init__(self):
self.client = OpenAI(
base_url="https://apivale.com/v1",
api_key=os.getenv("APIVALE_API_KEY", "sk-apivale-prod-key")
)
def execute_turn(self, task_type: str, messages: list) -> str:
model = "deepseek-r1" if task_type in ["tool_triage", "schema_parse"] else "qwen-3-8-max"
return self.client.chat.completions.create(model=model, messages=messages, temperature=0.1).choices[0].message.content
As demonstrated in our DeepSeek-R1 AI Code Review Guide, this hybrid architecture prevents token burn while maintaining enterprise-grade reasoning reliability.
Frequently Asked Questions
What is the difference between Raycast MCP server and client?
Raycast MCP operates as both a client (invoking external tools like Obsidian inside Raycast AI) and an MCP server (exposing macOS clipboard, notes, and scripts to Cursor and Claude Code).
Can I use Raycast MCP on Windows and iOS?
On Windows, Raycast runs client tools natively and MCP servers via Node.js or WSL2. iOS currently supports cloud sync but does not run local standard I/O daemons.
How to add MCP servers to Raycast for Obsidian and Notion?
To add tools, open Raycast, run Manage MCP Servers, press Cmd + N, and register Obsidian or Notion Node.js packages into mcp-config.json.
How does Raycast handle OAuth authentication in MCP?
Raycast handles OAuth by encrypting credentials in the system Keychain rather than plain text, automatically renewing access tokens for services like Notion.
How does APIVALE reduce Raycast MCP token expenses by 88%?
By deploying raycast mcp through APIVALE’s gateway, repetitive tool schema queries route to DeepSeek-R1 at $0.28/M with prompt caching, slashing token costs by 88%.