Connect an AI agent to CloudSurf

CloudSurf speaks MCP — the open protocol AI assistants use to work with your tools. Connect Claude, Codex, Cursor, VS Code or any MCP client and it can search your workspace, read and write your docs, and manage your tasks. Setup takes about a minute.

Which workspace

Each workspace has its own MCP address. Sign in and this page rewrites every command below for the workspace you pick. Signed out, it shows the shared address — sign-in then asks which workspace to connect:

https://app.cloudsurf.com/mcp

Before you start

  • A CloudSurf account — create one free.
  • Free workspaces connect read-only: your agent can search and read but not change anything. Read-write tools (creating docs, updating tasks) need a workspace on a paid plan.
  • A connection is scoped to one workspace — the one its address names. Everything the agent reads and writes stays inside it. To reach another workspace, add a second connection with that workspace's address.

Claude on the web & Claude Desktop

  1. Open Settings → Connectors → Add custom connector.
  2. Paste this server URL:
https://app.cloudsurf.com/mcp
  1. Click Add, then Connect. A CloudSurf sign-in window opens — sign in and approve the permissions for the workspace the address names.
  2. That's it. Ask a question about your workspace to confirm it's live.

Claude Code

One command:

claude mcp add --scope user --transport http cloudsurf https://app.cloudsurf.com/mcp

The OAuth sign-in runs in your browser on first use. Prefer plugins? Our plugin marketplace bundles the connector with CloudSurf skills for Claude Code.

Codex

Add the server, then sign in:

codex mcp add cloudsurf --url https://app.cloudsurf.com/mcp codex mcp login cloudsurf

Or write it into your Codex config.toml by hand:

[mcp_servers.cloudsurf] url = "https://app.cloudsurf.com/mcp"

Cursor & VS Code

One click each — the link hands the editor a server named cloudsurf pointed at the address above.

Other MCP clients & API keys

Any MCP client that speaks Streamable HTTP with OAuth can use the same URL. For clients that take a bearer token instead, mint a scoped API key in Settings → Connected agents and send it as Authorization: Bearer sk_live_…. Keys are minted per workspace with exactly the scopes you choose. The step-by-step is the connection guide; the CloudSurf Terminal guide covers the command line, which mints a key for you when you sign in.

Try these prompts

"Search my CloudSurf workspace for our onboarding checklist and summarize it."

"Create a doc in CloudSurf called 'Q3 launch plan' with an outline based on this conversation."

"What tasks are still in the build stage? Move TASK-42 to verify and add a comment on what changed."

"Read the README from my app's repo in CloudSurf and suggest improvements."

Your mail, through the same connection

With a Gmail account connected under Email, the connection carries the Email module's tools. They read the synced cache the module itself shows, and the one write that leaves the workspace is a label change on Gmail — nothing here sends mail.

ToolWhat it does
list_email_accountsThe connected Gmail accounts (no tokens).
email_list_threadsOne page of threads, every account merged — folder takes the module's own words: inbox · unread · priority · archive · sent · all; unread_only, query.
email_get_threadA thread's messages with sanitized bodies; each message lists its id and its attachments.
email_save_attachmentSaves one attachment into this workspace's Uploads (an image into the image library) and answers the file's link; saving it again answers the same file.
email_modifyThe seven triage verbs: read · unread · archive · trash · star · unstar · spam.
email_goldlistThe priority senders and domains: list, add, remove.
create_email_draft · send_emailA draft in your Drafts folder, or a message queued for your approval under Email › Outbound. Nothing is sent by a tool.

What your agent can and can't do

The tools it sees are filtered by the permissions you approved — a read-only connection never even lists the write tools. Every tool is annotated so the agent knows which are read-only and which modify your workspace, and destructive operations (like rewriting a doc) are marked as such so clients can ask before running them. A connection can never reach a workspace other than the one its address names, and it can never see your CloudSurf password.

Disconnecting

Remove the connector in your client's settings, or revoke its key in CloudSurf under Settings → Connected agents — either one cuts off access immediately. What data flows to a connected app is covered in our privacy policy.

Support

Stuck? Email team@cloudsurf.com and a human will help.