Agents
Connect MCP servers to your agents
MCP servers give your agents tools from other products, like an issue tracker or a CRM. You connect a server once, choose what each of its tools may do, and tick the tools each agent may use.
Add a server
In the dashboard, open MCP servers and click Add server. Paste the server's URL (its Streamable HTTP address, starting with https://) and, if you like, a Name; left blank, Teaflask uses the server's own name or one made from its address. Teaflask reads the server's tools before adding it, so a server that doesn't answer isn't added. Only owners can add servers; members can see them.
Authentication
Leave Authentication on Auto and Teaflask follows what the server asks for. A server with its own sign-in sends you to its sign-in page. The server then acts as the account you signed in with, for every agent conversation that uses its tools. Use a shared or service account if you can: if that person loses access, the server stops working until someone signs in again. The server's page shows whose account it uses. If the server asks for an access token instead, the dialog switches to Access token. A public server is added straight away.
Choose Access token to paste one from the server's settings; Teaflask sends it as a bearer token. Choose Custom headers if the server's docs ask for a named header such as X-Api-Key. You can add up to 5 headers. Access tokens and header values are stored encrypted and never shown again. If a server's docs put a key in the address itself, use a header instead so the key stays private.
Choose what each tool may do
Each tool on a server's page has Allow, Ask or Deny. Allow runs the tool when an agent calls it. Ask shows an approval card in the conversation before each call. Deny keeps the tool from every agent. New tools start on Allow, but no agent gets them until someone ticks them.
Give tools to an agent
Open an agent, then Capabilities → MCP servers, and tick the tools it may use. Tools a server adds later stay unticked and show New. If a server is removed, or stops offering a tool, the agent keeps the tick with a Remove button; nothing is removed for you. For each allowed tool you can also make that agent ask first.
On agents where signed-in users can connect their own servers, your MCP server tools that may change or delete data always ask for approval first.
When a server needs attention
A server's page shows its status. Sign in again means the sign-in expired or was revoked; agents' calls to it are told it needs a new sign-in until someone signs in again. Replace token means the server refused its access token or headers; agents can't use it until someone pastes new ones. Last check failed means the last Refresh couldn't reach the server or read its tools. Click Refresh to check a server for new or changed tools; tool lists don't update on their own.
Let signed-in users connect their own servers (Connectors)
- Turn on Let users connect their own MCP servers in an agent's MCP servers section. Signed-in users (people your site identifies to the assistant) then see Connectors.
- From Connectors, under the message box, they add a server by its address, then sign in or paste an access token (or a custom header).
- The agent gets every tool on every server the user connected, always allowed. Removing a server removes all its tools. A server may list up to 128 tools; tools past that, or with very large inputs, are shown to the user as not usable. If one reply can't carry all of a user's tools beside your own, the agent is told which servers weren't used.
- Connections belong to the user within your organization. They work in all of their conversations, on every one of your agents with this switch on, and nowhere else.
- Each user may connect up to 10 servers. Only
https://addresses with a name are accepted; private and internal network addresses are refused. - A user's servers never run in the playground or for anonymous visitors. Background helpers inside a user's conversation can use them.
- Tool calls and results appear in the conversation, which your team can read like any other conversation. Your organization pays for the model usage they cause.
- When a sign-in expires or an access token stops working, the agent tells the user, and the user signs in again or replaces the token from Connectors. Removing a server signs Teaflask out of it where the server supports that. Some services, like Notion, still list Teaflask among their connected apps afterwards; remove it there too if you want it gone from that list. A pasted access token should also be deleted where it was issued.
- If the agent has Cedar policies, a user's server tools run only under a policy that permits them, such as a blanket "permit all".
- Connectors needs the latest @teaflask/assistant, or the script tag.
- Servers that remember things between steps, such as browser automation, start fresh at every step.
Limits
- A server may list up to 128 tools. Tools past that, or with very large inputs, are listed on the server's page as not usable.
- Addresses must use
https://and a name. Private and internal network addresses are refused. - Up to 5 custom headers per server.
- Each step starts a fresh connection, so servers that keep state between calls, like browser automation, forget it between steps.
Manage servers from an AI tool
AI tools connected to Teaflask (see Settings → MCP) can list your servers and their tools, rename a server, refresh it, and set a tool to Allow, Ask or Deny. Adding a server, signing in to a server, pasting access tokens and removing a server stay in the dashboard.
More resources
- Actions – Let agents call your own API.