Get started · Connect an agent
Connect an agent
Every workspace has its own URL. Give it to your agent and it gets every tool the workspace allows, under the workspace's policies. Agents that sign in with OAuth need nothing else.
Before you start: you need a workspace. It can be empty for now. Add MCP servers to it before or after you connect the agent. Connect an MCP server
Copy your workspace URL
In the console, open Agents and click Add agent. Pick the workspace the agent should work in and copy its Connection URL. Every agent in that workspace uses the same one.
Add agent×
Agents represent identities calling the gateway.
WorkspaceSupport
Connection URLhttps://calm-otter.meandr.ioCopy
Add it to your agent as a regular Streamable HTTP MCP server.
Add the URL to your agent
Add it the way you add any remote MCP server, as a Streamable HTTP server. In Claude Desktop, open Settings, then Connectors, and choose Add custom connector. In a terminal agent, one command does it:
# Claude Code
claude mcp add --transport http meandr https://calm-otter.meandr.io
# Codex
codex mcp add meandr --url https://calm-otter.meandr.io
A client set up with a JSON file, such as .mcp.json, takes the same URL:
{
"mcpServers": {
"meandr": {
"type": "http",
"url": "https://calm-otter.meandr.io"
}
}
}
Sign in, if your agent asks
Agents that support OAuth open your browser the first time they connect. Sign in to Meandr, then choose which agent this is, or create a new one in the same step. Claude Desktop works this way, and so does any client that registers itself with OAuth Dynamic Client Registration (DCR) or Client ID Metadata Documents (CIMD). There is nothing to copy back into the client.
Claude Desktop wants to use Support
Signed in as Sam Lee, in Acme's team.
Connect asClaude Desktop new agent
CancelAllow
That's it for most agents. The agent now sees every tool the workspace allows, and every call it makes goes through the workspace's policies.
If your agent asks for more than the URL
Some clients want a key, or OAuth client credentials of their own. Register those agents first. In Add agent, give it a name and, if you like, tags. Policies can match agents by tag, which is handy for treating a group of agents alike.
Then open the agent and answer one question: what does your client ask for, in addition to the URL?
release-bot×
Agent details, how to connect, and the keys and clients it uses.
What does your client ask for, in addition to the URL?- NothingClaude Desktop, anything doing OAuth DCR or CIMD
- A Bearer tokenCodex, Claude Code
- A Client IDclients that ask for one
- A Client ID and a Secretclients that require both
Access keys+ Add key
No active keys. Add one to let this agent authenticate.
A Bearer token. Click Add key and copy the token. It is shown only once. Your client sends it in an Authorization header:
claude mcp add --transport http meandr https://calm-otter.meandr.io \
--header "Authorization: Bearer tok_…"
In a JSON config, it goes under "headers":
{
"mcpServers": {
"meandr": {
"type": "http",
"url": "https://calm-otter.meandr.io",
"headers": {
"Authorization": "Bearer tok_…"
}
}
}
}
A Client ID, or a Client ID and a Secret. Click Generate and paste what you get into the client's OAuth settings. They can't be changed later without deleting the client, so generate them when you are ready to paste them.
Codex and Claude Code connect either way. They sign in with OAuth as in step 3, or use a bearer token if you would rather set one.
Manage it any time
Every agent has its own page. It shows the connection URL, the agent's access keys and when each was last used, its OAuth clients, and the client software that connected as it in the last day, with versions and call counts.
release-bot×
Access keys+ Add key
laptoptok_3hF9…Bearer
Claudetok_8Qe2…OAuth · DCR
Clients
claude-codev2.1elicitationroots
Revoke a key and Meandr stops accepting it at once. Your servers' credentials never leave Meandr, so nothing else needs changing. The same page lets you give one agent a rate limit of its own, apart from the workspace's.
Next steps
Write your first policy
Decide what your agents may do: allow a call, deny it, or ask a person first.
Connect an MCP server
Add the servers your agents should reach, and choose how Meandr signs in to each.
Run a cloud agent
Run your coding agent on Meandr, with every tool its workspace allows, around the clock.