Raycast MCP Server
Raycast MCP Server is a macOS MCP server that lets AI assistants invoke Raycast and local automation tools.
Search Raycast and optionally execute the first result.
Open Raycast commands/extensions or custom command URLs.
Show, clear, copy, or paste clipboard content.
Trigger predefined Raycast shortcuts or validated keyboard shortcuts.
Show, hide, toggle, or focus the Raycast window.
Run selected macOS system actions such as sleep, restart, shutdown, lock, logout, empty trash, or eject all.
Audit, set up, and validate credentials for Raycast, GitHub, Notion, and Figma; open OAuth URLs with user-supplied client IDs/redirects.
List, install, uninstall, update, search, or publish Raycast extensions.
Create, list, execute, edit, or delete local workflows with steps and triggers.
Uses constrained command identifiers, allowlisted URL schemes, input validation, and
execFile/spawnwithout shell interpolation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Raycast MCP Server list my installed extensions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Raycast MCP Server
A macOS Model Context Protocol (MCP) server that lets AI assistants invoke nine Raycast and local-automation tools. It uses Raycast URLs, AppleScript, and standard macOS commands, so the automation tools require Raycast on macOS.
Features
Nine registered tools
raycast_search - Open Raycast, enter a query, and optionally execute the first result
raycast_open - Open a Raycast command or extension URL
raycast_clipboard - Show, clear, copy, or paste clipboard content
raycast_shortcut - Trigger a predefined Raycast URL or validated keyboard shortcut
raycast_window - Show, hide, toggle, or focus Raycast
raycast_system - Invoke selected macOS system actions
raycast_auth - Audit configured environment credentials, print setup instructions, and validate supported credentials
raycast_extensions - Drive supported extension-management flows
raycast_workflows - Store and execute local workflow definitions
🚀 Capabilities
Uses
execFileandspawnwithout shell interpolationValidates and length-bounds user-controlled strings
Uses allowlisted URL schemes and constrained command identifiers
Supports local workflows, clipboard operations, navigation, and system automation
Can validate GitHub, Notion, and Figma credentials without returning the credential itself
Authentication scope
This project is not an OAuth callback server and does not exchange authorization codes. The raycast_auth oauth action opens provider authorization URLs, but those templates require you to supply real client IDs and redirect URLs before they are usable. Credential validation is currently implemented for GitHub, Notion, and Figma; other listed services return an explicit “not implemented” result.
Related MCP server: SkyDeckAI Code
Installation
Via Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"raycast": {
"command": "node",
"args": ["/path/to/raycast-mcp/dist/index.js"],
"env": {
"RAYCAST_API_KEY": "${RAYCAST_API_KEY}",
"RAYCAST_TEAM_ID": "${RAYCAST_TEAM_ID}"
}
}
}
}Via NPX
npx raycast-mcp-server@1.0.1Via Smithery
smithery install raycast-mcp-serverDevelopment
Prerequisites
Node.js 18+
macOS with Raycast installed for automation calls
Accessibility permission for your terminal or MCP host when using AppleScript keyboard control
Setup
git clone https://github.com/ExpertVagabond/raycast-mcp-server.git
cd raycast-mcp-server
npm install
npm run build
npm testRunning Locally
npm startBuilding for Production
npm run buildUsage Examples
Authentication Management
# Setup GitHub authentication
{"tool": "raycast_auth", "arguments": {"action": "setup", "service": "github"}}
# Validate credentials
{"tool": "raycast_auth", "arguments": {"action": "validate", "service": "github"}}Extension Management
# Search for extensions
{"tool": "raycast_extensions", "arguments": {"action": "search", "query": "github"}}
# List installed extensions
{"tool": "raycast_extensions", "arguments": {"action": "list"}}Workflow Automation
# Create a custom workflow
{"tool": "raycast_workflows", "arguments": {
"action": "create",
"name": "morning-routine",
"steps": [
{"type": "command", "action": "open-calendar"},
{"type": "api_call", "action": "fetch-weather"},
{"type": "notification", "action": "daily-summary"}
]
}}
# Execute a workflow
{"tool": "raycast_workflows", "arguments": {"action": "execute", "name": "morning-routine"}}Environment variables
RAYCAST_API_KEYandRAYCAST_TEAM_ID- optional values reported by the credential auditGITHUB_TOKEN,NOTION_TOKEN,FIGMA_TOKEN- supported credential validationSLACK_TOKEN,LINEAR_TOKEN,JIRA_TOKEN- detected by the audit; remote validation is not implemented
Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
License
MIT
Support
For issues and feature requests, please use the GitHub Issues page.
Built with ❤️ for the Raycast and MCP communities.
Available Tools
9 toolsraycast_authC
Manage Raycast and service authentication
Inputs: action (required), service.
raycast_clipboardC
Manage clipboard history via Raycast
Inputs: action (required), text, index.
raycast_extensionsC
Manage Raycast extensions and store integration
Inputs: action (required), query, extension_id, publish_path.
raycast_openC
Open specific Raycast commands or extensions
Inputs: args, command, extension.
raycast_searchB
Search and launch applications, files, or commands via Raycast
Inputs: query (required), execute.
raycast_shortcutC
Trigger Raycast shortcuts and hotkeys
Inputs: shortcut, custom_key.
raycast_systemC
Access system functions through Raycast
Inputs: function (required), confirm.
raycast_windowC
Control Raycast window behavior
Inputs: action (required).
raycast_workflowsC
Create and manage Raycast workflows and automations
Inputs: action (required), name, steps, trigger.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
The set covers distinct areas but raycast_search and raycast_open overlap in launching commands/extensions, and raycast_system is broad/vague, risking misselection.
All tool names use the raycast_ prefix and snake_case, which is predictable; however, the second token mixes verbs (search, open) and nouns (clipboard, shortcut), a minor inconsistency.
9 tools is well within the ideal range for a platform integration, each covering a distinct Raycast capability without excessive granularity.
The surface covers core Raycast operations (search, open, clipboard, shortcuts, window, system, auth, extensions, workflows) but lacks tools for snippets, AI commands, or notes, which are common Raycast features.
Maintenance
Related MCP Connectors
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Pay-per-call tools for AI assistants: code, data, finance, spreadsheets, media, web, time.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Connect AI agents to 1000+ apps with managed authentication and tool-calling.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables AI assistants to automate macOS through AppleScript and JXA by providing 44 tools for application management, window control, and UI interaction. It allows for comprehensive system control including screen capture, keyboard and mouse simulation, and system information retrieval.4415 npm1MIT
- AlicenseNot gradedqualityDmaintenanceProvides tools for AI-driven development workflows including file system operations, code analysis, code execution, web fetching, and search.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with 28 developer tools across file, git, code analysis, HTTP, and system domains, enabling tasks like file editing, repository management, code analysis, and shell command execution.13 npm2MIT
- AlicenseNot gradedqualityDmaintenanceProvides 12 local developer tools (JSON format, Base64, JWT decode, regex test, hash, UUID, etc.) for AI assistants like Claude Desktop and Cursor.6 npmMIT