Guide
How to give Claude access to your server
Let Claude read files and run commands on your own machine, under your control.
Options
- Run an MCP server yourself and expose it. You host it, keep it reachable over HTTPS and handle authentication.
- Use MCP Desk. A small agent on the server makes its tools reachable through MCP Desk, connecting outbound only.
With MCP Desk, step by step
- Download the agent for Windows (x64 and ARM64), Linux (x86_64 and aarch64) or macOS 11+ (Intel and Apple Silicon), run it, and note the 9-digit code.
- Sign up, open the dashboard and use Add a desk to claim the machine.
- In Claude Code, add the sign-in URL:
Then runclaude mcp add --scope user --transport http mcpdesk https://mcp.mcpdesk.ai/oauth/mcp/mcp, pick Authenticate, sign in to MCP Desk in the browser and press Allow. - Tell Claude “link desk 123 456 789” (your desk’s code) and press Allow on that machine.
Claude Desktop and Claude.ai web: Settings → Connectors → Add custom connector, paste https://mcp.mcpdesk.ai/oauth/mcp, then Connect, sign in to MCP Desk and press Allow.
For Cursor, Codex, Grok, OpenCode, VS Code and other clients, see Add to your AI client.
Stay in control
- A new code-based connection needs the desk code and its current one-time code, which changes every 10 minutes. Approve on the machine is for invites.
- Access ends when you close the agent. To remove it completely, delete the agent and its data folder.
- Agent modes (readonly, playbooks, full) limit which tools exist.
- The agent keeps a local audit log of tool calls, which stays on your machine.
Checked against each tool's public docs in October 2026. Features change; check the linked docs for the current state. See all guides or download MCP Desk.