What arcade-mcp does
arcade-mcp is an open-source Python framework for implementing MCP servers and the tools inside them. It is intended for developers building custom agent capabilities, such as internal API access, domain-specific workflows, or integrations with OAuth providers that are not covered by an existing tool catalog.
The framework exposes a decorator-based API for MCP functionality. Alongside callable tools, applications can define resources and prompts, use sampling and elicitation, report progress, and emit logs. The same code can be used with different MCP clients and agent frameworks because the server communicates through MCP rather than a vendor-specific agent API.
How it works
A server is created with MCPApp, and Python functions become MCP tools through decorators. Type annotations and function documentation describe tool inputs and behavior. The application can be launched with stdio for local clients or with HTTP+SSE for clients that connect over HTTP.
Authorized tools declare their authentication requirements in the decorator. Arcade can prompt users through an OAuth flow, store and refresh tokens, and inject the resulting credential into the tool's runtime context. API keys and other secrets can also be supplied securely. The client and language model do not receive those secret values.
The framework supports standalone operation, where the developer supplies access tokens and protects production HTTP endpoints independently. Arcade Cloud adds deployment and managed authorized-tool flows when the server is deployed there.
Setup and configuration
The command-line package can be installed with uv tool install arcade-mcp. Scaffolding a project with arcade new my_server creates a Python project, environment template, and starter server. Source installation requires Python 3.10 or newer and uv.
A server can be started locally with commands such as:
uv run server.py for stdio
uv run server.py http for HTTP+SSE
The CLI includes configuration commands for Claude Desktop, Cursor, and VS Code. arcade login followed by arcade deploy packages and deploys a server to Arcade Cloud. The CLI also provides server logs, status, listing, and dashboard commands.
For resumable HTTP elicitation across replicas, set ARCADE_WORKER_SECRET to the same value of at least 32 UTF-8 bytes on each replica. Tool retries can replay a call, so side effects before input requests should be idempotent and input ordering should remain deterministic.
Tools and capabilities
- Build MCP tools with Python decorators.
- Define resources, prompts, sampling, elicitation, progress reporting, and logging.
- Declare OAuth scopes directly on authorized tools.
- Use provider helpers for services including GitHub, Google, Slack, Notion, Linear, Microsoft, Zoom, and other supported providers.
- Use a generic
OAuth2 helper for other OAuth APIs.
- Test tool-call accuracy with
arcade evals.
- Deploy servers with
arcade deploy.
The framework includes authentication helpers for 23 named providers and supports custom API keys or other secrets through the Arcade authorization model.
Limitations and notes
MCP clients must support the transport selected by the server. Stdio is intended for local desktop and command-line integrations, while HTTP+SSE is available for clients such as Cursor and VS Code. Production HTTP deployments need suitable resource-server authentication; the framework's standalone mode does not automatically provide Arcade Cloud's managed authorization flow.
Short or missing worker secrets prevent signed, restart-safe elicitation state, although ordinary tool calls remain available. Retried tool calls may execute again, making idempotent side effects important. OAuth tokens, API keys, and other credentials should be handled through the framework's runtime context rather than exposed as tool output.