Use Sunsama from Other AI Apps (MCP)
Connect Claude, ChatGPT, Cursor, Codex or any other AI app to Sunsama, so it can plan your day, add tasks and check your calendar.
Connect the AI app you already use, and ask it to plan your day, add tasks or check your calendar in plain language. Pick your app:
Claude
- Click Connect Claude. Claude opens with Sunsama already filled in.
- Click Continue.
- Sign in to Sunsama and allow access.
Owner of a Claude Team or Enterprise organization? Add Sunsama for everyone, then each member clicks Connect.
Claude's Free plan allows one custom connector.
ChatGPT
- Click Open in ChatGPT to see Sunsama there.
- Click +, then Connect.
- Sign in to Sunsama and allow access.
Owner or admin of a ChatGPT workspace? Install Sunsama for your workspace, then each member clicks Connect.
Cursor
- In Cursor's settings, add a new global server. A settings file opens.
- Paste this in and save.
- Sign in to Sunsama when Cursor asks, then use it in Agent mode.
{
"mcpServers": {
"Sunsama": {
"url": "https://api.sunsama.com/mcp"
}
}
}Claude Code
- Run this in your terminal.
- Start Claude Code and sign in to Sunsama when asked. Try "What's on my plan today?"
claude mcp add --transport http Sunsama https://api.sunsama.com/mcp
Notion
- A workspace admin turns on Settings → Notion AI → AI connectors → Custom MCP servers. Custom agents are a paid Notion feature.
- In your custom agent's Settings, open Tools & Access, then Add connection → Custom MCP server.
- Enter https://api.sunsama.com/mcp as the URL and Sunsama as the name.
- Under Advanced settings, paste this as the Client ID, then Save and sign in to Sunsama.
7b39528e-3f01-47cd-a0fb-993c00201f58
Codex & more
- Paste this message into your assistant.
- Sign in to Sunsama when it asks.
Works with Codex, Gemini CLI, Raycast and anything else that supports MCP.
What it can do
Your assistant can create, edit, complete and reschedule tasks and subtasks; read, create and move calendar events and timebox tasks; start and stop timers; and manage weekly objectives and channels. Comments it adds to a task show which app wrote them, like “via Codex”. It can’t read your email or the other tools you’ve connected to Sunsama, such as Jira or Gmail. Sunny, the assistant built into Sunsama, can.
How it connects
Sunsama’s server is https://api.sunsama.com/mcp, over Streamable HTTP. Apps sign in with OAuth 2.1 (PKCE) and register themselves, through dynamic client registration or a client ID metadata document, so there’s no key to paste.
If your app can’t do that
- Supports OAuth but can’t register itself: it needs a client ID from us. Email support@sunsama.com. Notion uses one (see its tile above).
- Only runs local (stdio) servers: bridge with
npx mcp-remote@latest https://api.sunsama.com/mcp. - No OAuth at all: create a long-lived token under Settings > Integrations > MCP > Bearer token and send it as
Authorization: Bearer <token>. It’s kept for older clients and may be removed.
Managing connected apps
Settings > Integrations > MCP lists the apps connected to your workspace and when each was last used. Click Disconnect to remove one.
Troubleshooting
- “MCP access is disabled by workspace policy”: an admin of your Enterprise workspace turned off MCP server access under AI Feature Controls. Ask them to turn it back on.
- “Unknown client” (
invalid_client): your assistant is using a sign-in Sunsama no longer recognizes. Remove the Sunsama connection in your assistant, add it again withhttps://api.sunsama.com/mcp, and sign in when asked. - Your assistant says you need to upgrade: after your Sunsama trial ends, AI apps can’t reach your data until you upgrade.