MCP server
Teemli runs an MCP server, so AI apps you already use can work with your Teemli: hand a job to one of your agents, find a doc, file a work item, catch up on a channel or a meeting.
MCP (Model Context Protocol) is the open standard AI apps use to connect to other tools. You add Teemli’s address to your AI app once, sign in, and the app gets a set of Teemli tools it can call while you chat with it.
https://api.teemli.com/mcpWhat an AI app can do
Section titled “What an AI app can do”Everything happens as you: the app sees exactly what you can see in Teemli, never a colleague’s private things or another organisation’s data.
| Tool | What it does | Scope (API keys) |
|---|---|---|
list_agents |
Your agents and the AI employees shared with you | agents:read |
ask_agent |
Give one of your agents a task and wait (up to 50 s) for the answer | agents:run |
get_task, list_tasks |
Check on agent tasks: working, waiting, done, couldn’t finish | agents:read |
search |
Search everything you can see, like ⌘K in the app | any read scope |
list_projects, my_work_items, get_work_item |
Read projects and work items (Tasks) | tasks:read |
create_work_item, update_work_item |
Create work items, change them, add comments | tasks:write |
read_doc |
Read a Docs page as Markdown | docs:read |
suggest_doc_append |
Suggest an addition to a page (see below) | docs:write |
list_channels, read_channel |
Your channels and DMs, and their latest messages | chat:read |
post_message |
Post in a channel or DM you’re in | chat:write |
list_meetings, get_meeting |
Your meeting notes, decisions, action items and transcripts | meetings:read |
When an app asks one of your agents to do something, the agent works exactly as if you’d asked it in Teemli: on its own cloud computer, with your connected apps, and it asks you in Teemli before anything sensitive. Approvals can only be answered in Teemli, never by the AI app.
Labelled as AI
Section titled “Labelled as AI”What an app writes where other people see it says so, like everything an agent does:
- Chat: messages show your name via Claude (AI) (or whichever app posted them).
- Docs: additions arrive as suggestions from “Your name via Claude (AI)”. Nothing changes until someone who can edit the page accepts them.
- Work items and comments are created as you.
Good AI apps ask before calling a tool that others will see (Teemli marks post_message as one to confirm). Still, only connect apps you trust, and give API keys only the scopes they need.
Connect an AI app
Section titled “Connect an AI app”There are two ways to sign in:
- Sign in with Teemli (OAuth), recommended: the app opens Teemli’s sign-in page, you sign in as usual and approve the app on a consent screen. The app gets your access, like the Teemli app. Nothing to copy or paste.
- A personal API key, for apps that can’t do the sign-in, or when you want to limit what the app can do with scopes. Create one in Developers → API keys and send it as
Authorization: Bearer tml_…. Tools outside the key’s scopes aren’t offered to the app.
Claude (claude.ai and Claude Desktop)
Section titled “Claude (claude.ai and Claude Desktop)”- Open Settings → Connectors and choose Add custom connector.
- Name it “Teemli” and paste
https://api.teemli.com/mcpas the URL. - Click Connect, sign in to Teemli and approve Claude.
- In a chat, turn Teemli on from the tools menu and ask, for example: “Ask my Teemli assistant to summarise this week’s sales emails.”
On Team and Enterprise plans an owner may need to add the connector for the organisation first.
Claude Code
Section titled “Claude Code”claude mcp add --transport http teemli https://api.teemli.com/mcpThen run /mcp inside Claude Code and choose Authenticate to sign in. With an API key instead:
claude mcp add --transport http teemli https://api.teemli.com/mcp \ --header "Authorization: Bearer tml_your_key"ChatGPT
Section titled “ChatGPT”Custom connectors need a ChatGPT plan that allows them (and, on Business and Enterprise plans, an admin who allows them).
- Open Settings → Apps & Connectors. Under Advanced settings, turn on Developer mode if your plan asks for it.
- Choose Create (or Add custom connector), name it “Teemli”, and paste
https://api.teemli.com/mcp. - Choose OAuth as the authentication, create it, then sign in to Teemli and approve ChatGPT.
Cursor
Section titled “Cursor”Add Teemli to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{ "mcpServers": { "teemli": { "url": "https://api.teemli.com/mcp" } }}Cursor shows a Needs login button next to Teemli in its MCP settings: click it to sign in. With an API key, add "headers": { "Authorization": "Bearer tml_your_key" } next to url.
VS Code (GitHub Copilot)
Section titled “VS Code (GitHub Copilot)”Add to .vscode/mcp.json in your project (or run MCP: Add Server from the command palette and pick HTTP):
{ "servers": { "teemli": { "type": "http", "url": "https://api.teemli.com/mcp" } }}VS Code asks you to sign in to Teemli the first time a tool is used.
Other apps
Section titled “Other apps”Any app that supports remote MCP servers over Streamable HTTP works: use https://api.teemli.com/mcp with OAuth, or send a personal API key in the Authorization header. For apps that only run local (stdio) servers, the open-source mcp-remote bridge connects them:
{ "mcpServers": { "teemli": { "command": "npx", "args": ["-y", "mcp-remote", "https://api.teemli.com/mcp"] } }}Disconnect an app
Section titled “Disconnect an app”- Signed in with OAuth: remove the connector in the AI app. To end its access for good, open your sign-in account page → Applications and remove the app there.
- API key: revoke the key in Developers → API keys. It stops working at once.
For developers
Section titled “For developers”- Transport: Streamable HTTP, stateless (no sessions), JSON responses. Clients on the
2026-07-28protocol and older ones that start withinitializeboth work. - Authorization: OAuth 2.1 with PKCE. A request without a token gets
401withWWW-Authenticate: Bearer resource_metadata="https://api.teemli.com/.well-known/oauth-protected-resource/mcp". That protected resource metadata names the authorization server,https://auth.teemli.com/realms/teemli, which supports dynamic client registration and shows a consent screen. Or send a personal API key as the bearer token. - Errors: a tool that fails (not found, missing scope, a rule like “you’re not a member of this channel”) returns a normal result with
isError: trueand a sentence explaining why, so the AI can tell you. - Limits: API keys keep their rate limits. Service keys can’t be used (they never read content).
- What’s never available: answering an agent’s approval cards, private sign-in and passwords, model keys, connecting apps and managing keys. Those always need you in the Teemli app.
Teemli’s own agents can also use other MCP servers: see Apps and connections.