For macOS power users and developers, the bottleneck in AI-assisted workflows has rarely been model intelligence—it has been model isolation. Standard AI assistants live inside browser tabs, sandboxed code editors, or siloed desktop applications. Raycast AI fundamentally alters this paradigm by embedding model capabilities directly into the global macOS command bar. By integrating Anthropic's Model Context Protocol (MCP), Raycast AI extends beyond static application shortcuts into an omni-present, system-wide agent capable of reading local file trees, triaging GitHub pull requests, inspecting PostgreSQL databases, and dispatching developer toolchains from anywhere in macOS.
At 365Finds, our stance is unequivocal: Raycast AI paired with MCP is the most ergonomically superior AI orchestration layer available on macOS today. While IDE-based clients like Cursor confine tool execution to your code repository and standalone clients like Claude Desktop lock you inside a heavy windowed interface, Raycast AI provides zero-latency overlay execution via a single keystroke. However, leveraging this power requires understanding how Raycast executes MCP clients under macOS process management, properly structuring mcp-config.json, and circumventing the operating system's strict environment isolation.
Prerequisites and System Architecture
Before configuring MCP servers in Raycast AI, ensure your system meets the baseline requirements:
- Raycast Pro Tier: MCP server integration is a Raycast Pro exclusive feature. You need an active Pro subscription to unlock tool calling in Raycast AI Chat, Quick AI, and AI Commands.
- Advanced AI Models: Tool calling requires models with native function-calling capabilities (e.g., Anthropic Claude 3.5 Sonnet, Claude 3.7 Sonnet, or OpenAI GPT-4o).
- Execution Runtimes: Local MCP servers rely on command-line runtimes. You should have Node.js/npm (
npx) and/or Astral'suv(uvx) installed on your Mac.
How Raycast Implements MCP
Raycast operates as an MCP Host (Client) that communicates with external MCP servers through two standardized transport layers:
- Standard Input/Output (
stdio): Raycast spawns a local background process (such as a Node.js or Python binary) and communicates with it via JSON-RPC piped across standard input and standard output. This transport is ideal for local file inspection, Git manipulation, and database access. - HTTP (Streamable HTTP / SSE): Raycast establishes a connection to a remote web service over HTTP. Raycast natively manages authentication flows, supporting Dynamic OAuth (Dynamic Client Registration with PKCE), Static OAuth (Client ID and Secret), and custom authorization headers.
Once a server is registered, Raycast discovers its exposed tools and automatically exposes them inside AI Chat, Quick AI, and AI Commands via @-mentions and root search commands.
Configuration Method 1: The Interactive UI Flow
The most accessible way to connect an MCP server is through Raycast's native interface:
- Trigger Raycast (
⌥ Spaceor your configured hotkey) and run the command Manage MCP Servers. - Press
⌘ N(or select the Install New Server action) to open the setup form. - Select your transport type:
- For local CLI utilities, choose Standard Input/Output. Enter the executable command (e.g.,
npx), command arguments, and required environment variables. - For remote services, choose HTTP. Enter the endpoint URL, optional HTTP headers, and OAuth parameters.
- For local CLI utilities, choose Standard Input/Output. Enter the executable command (e.g.,
- Provide a recognizable Name, select an icon, and optionally add Custom Instructions to steer how Raycast AI prompts the tools.
- Press
⌘ ↵(Install MCP Server). Raycast initializes the connection, validates the transport, and pulls down the server's tool manifest.
Configuration Method 2: Direct mcp-config.json Management
For engineers managing complex environments or migrating from Claude Desktop, editing Raycast's primary configuration file directly is dramatically faster and allows version-controlled, declarative setups.
Locating the Configuration File
Raycast stores non-development MCP configurations in a centralized JSON file located within its extension support directory:
~/Library/Application Support/Raycast/extensions/mcp-config.json
The fastest way to open this file without digging through hidden library paths is:
- Open Raycast and launch Manage MCP Servers.
- Press
⌘ Kto open the Action Panel. - Select Show Config File in Finder (or open it directly in your code editor).
Configuration Schema
The mcp-config.json file uses a standard schema matching Claude Desktop's structure:
{
"mcpServers": {
"filesystem": {
"command": "/opt/homebrew/bin/npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/username/Developer",
"/Users/username/Documents/Notes"
],
"env": {
"PATH": "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
}
},
"github": {
"command": "/opt/homebrew/bin/npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_yourPersonalAccessTokenHere",
"PATH": "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
}
},
"postgres": {
"command": "/opt/homebrew/bin/npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://postgres:password@localhost:5432/analytics_dev"
],
"env": {
"PATH": "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
}
},
"git": {
"command": "/opt/homebrew/bin/uvx",
"args": [
"mcp-server-git",
"--repository",
"/Users/username/Developer/core-monorepo"
],
"env": {
"PATH": "/opt/homebrew/bin:/Users/username/.local/bin:/usr/local/bin:/usr/bin:/bin"
}
}
}
}
Whenever you modify mcp-config.json, open Manage MCP Servers in Raycast and trigger Refresh (⌘ R) to restart server processes and reload tool definitions.
Production Recipes for Developer Toolchains
To illustrate how macOS power users bridge local workflows with Raycast AI, consider these four battle-tested configurations.
1. Local Filesystem Integration
The official filesystem server grants Raycast AI direct read and write access to explicit directories.
- Objective: Inspect codebase structure, read documentation, summarize logs, or draft configuration files directly from Quick AI.
- Security Rule: Never pass
/or entire home directories (~). Explicitly delimit whitelist directories inargs.
{
"command": "/opt/homebrew/bin/npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/username/Developer/projects",
"/Users/username/Downloads"
]
}
2. GitHub Developer Automation
The GitHub MCP server equips Raycast AI with the ability to query repositories, search pull requests, check CI runs, and draft issues.
- Token Requirements: Generate a GitHub Personal Access Token (classic or fine-grained) with
repo,read:org, anduserscopes. - Snippet:
{
"command": "/opt/homebrew/bin/npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
3. Local PostgreSQL & SQLite Inspection
Database servers allow Raycast AI Chat to inspect database schemas, write analytical queries, and examine local development data without launching standalone GUI clients like TablePlus or pgAdmin.
{
"command": "/opt/homebrew/bin/npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://postgres:postgres@127.0.0.1:5432/my_dev_db"
]
}
4. Remote HTTP & Cloud Integrations (Linear, Sentry, Custom Gateways)
For team trackers like Linear, Raycast connects natively over HTTP. In Install MCP Server, configure:
- Transport:
HTTP - URL:
https://mcp.linear.app/mcp - OAuth Type:
Dynamic
Upon saving, select Sign In in Raycast's prompt. Raycast completes the OAuth 2.0 PKCE challenge in your default browser, securely encrypting the resulting refresh and access tokens locally.
The macOS Power User Trap: Environment & PATH Troubleshooting
The single most common failure mode when setting up local MCP servers in Raycast is the infamous process spawning error:
spawn npx ENOENT
// or
spawn uvx ENOENT
Why This Happens
On macOS, terminal shells (zsh, bash) load user environment variables from startup scripts like ~/.zshrc, ~/.bash_profile, and system paths managed by Homebrew (/opt/homebrew/bin on Apple Silicon or /usr/local/bin on Intel) or version managers like nvm, fnm, asdf, or mise.
In contrast, Raycast is a graphical macOS application launched by Apple's launchd daemon. By default, GUI applications inherit a bare-bones system PATH (typically /usr/bin:/bin:/usr/sbin:/sbin). When Raycast attempts to spawn npx or uvx directly, the system cannot locate the binary.
The Two-Part Fix
-
Use Absolute Paths for Commands: Run
which npxorwhich uvxin your terminal. Replace bare command names with their full paths:- Apple Silicon Homebrew:
/opt/homebrew/bin/npx - Intel Homebrew:
/usr/local/bin/npx - Custom uv path:
/Users/username/.local/bin/uvx
- Apple Silicon Homebrew:
-
Inject the
PATHEnvironment Variable: Specifying/opt/homebrew/bin/npxalone is often insufficient.npxis a wrapper script that subsequently invokes thenodebinary. Ifnode's parent directory is missing fromPATH, the process fails. Always include an explicitPATHinside the server'senvblock inmcp-config.json:
"env": {
"PATH": "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
}
After modifying system paths or global Node packages, restart Raycast (⌘ Q and reopen) to ensure all background process supervisors reload.
Security Safeguards & Tool Execution Governance
Granting an AI model read and write access to your filesystem, GitHub repositories, and local databases introduces operational risks. Raycast provides robust permission controls to safeguard your workstation.
Tool Execution Permissions
Navigate to Raycast Settings → AI → Tools to configure the global permission policy:
- Ask: Raycast pauses before every tool invocation that modifies state, reads sensitive files, or executes shell commands, prompting you for manual confirmation.
- Auto (Recommended): Raycast automatically approves read-only operations (e.g., listing directories, reading code files, running
git status), but pauses and displays a confirmation card with parameter details before executing destructive actions or reading credentials (such as.envfiles or private SSH keys). - Always Allow: Executes all tool calls without confirmation. 365Finds strongly discourages this setting for MCP servers with write or delete capabilities.
In any prompt requiring approval, press ↵ to allow once, ⌘ ↵ to add the tool to Globally Allowed Tools, or Esc to deny execution.
Daily Workflow: How to Interact with MCP in Raycast
Once your MCP servers are running, Raycast exposes their capabilities seamlessly across the desktop environment:
Scoped Queries via @-mentions
Rather than overloading every AI prompt with every tool from every connected server, scope your intent using @:
@filesystem find all .env.example files in my projects directory@github list pull requests assigned to me that failed CI@postgres calculate total active user signups from the past 7 days
Root Search "Ask" Commands
Raycast automatically registers dedicated commands in Root Search for each active MCP server (e.g., Ask Filesystem, Ask GitHub, Ask Linear). Hitting Return on these commands opens Quick AI with the server pre-selected.
Steering Behavior with Custom Instructions
Every server entry in Manage MCP Servers includes a Custom Instructions field. Use this to eliminate repetitive prompting and enforce formatting preferences:
- For Filesystem: "Always return file paths relative to the project root. Never write or overwrite files without showing a unified diff first."
- For GitHub: "Focus on the repository
org/main-repo. When summarizing issues, group them by priority milestone."
365Finds Institutional Assessment & Recommendations
| Evaluation Dimension | Raycast AI + MCP | Claude Desktop | Cursor / VS Code |
|---|---|---|---|
| System Accessibility | Global macOS overlay (⌥ Space); zero-window footprint | Dedicated desktop window; high context-switch friction | Editor-bound; restricted to active workspace |
| Tool Diversity | Filesystem, shell, developer tools, SaaS APIs | General MCP servers | Primarily file edits, terminal, and codebase indexing |
| Configuration Friction | Moderate; requires managing macOS GUI PATH isolation | Low; standard JSON config | Low to moderate; built-in IDE settings |
| Token & Latency Overhead | Requires disciplined @-mention usage to avoid schema bloat | High if many servers loaded globally | Managed within editor context window |
| 365Finds Recommendation | Primary OS orchestrator for developers & power users | Best for long-form research and artifact writing | Best for deep code refactoring & active programming |
The 365Finds Bottom Line
Raycast AI with MCP bridges the final mile between conversational AI and tangible macOS system administration. It is not an IDE replacement, nor is it meant for multi-thousand-line code refactoring. Instead, it serves as the ultimate rapid-response cockpit for power users.
By taking the time to configure mcp-config.json with explicit paths, scoping filesystem servers to bounded project directories, and selectively engaging tools via @-mentions, macOS developers can achieve an unprecedented level of daily operating velocity.