What an agent gets
https://platform.trylath.com/mcp speaks the Model Context Protocol over streamable HTTP, authenticated with the same Authorization: Bearer <key> header as the REST API. tools/list returns every operation the key is allowed to call, each with its input and result schema; tools/call runs one.
Tool names are the operation with dots replaced by underscores — sms.send is sms_send — because MCP names allow [A-Za-z0-9_-] only. A tool the key has no permission for is not listed, so an agent is not offered work it cannot do.
For an agent that cannot reach a remote server, npx -y @trylath/cli mcp runs the same tools as a local stdio server, authenticated with LATH_API_KEY or the key lath init stored. It needs Node.js 20 or later.
Connect your agent
Open yours. Every entry is written against that client’s own documentation, linked at the end of it. Put a secret key where<your key> appears — the live.key or test.key that account.signup returned, or one from Developers › Keys in the dashboard. A test key is the safer one to start an agent on.
Coding agents
Claude Code
Terminal
Claude Code
Terminal
Add the server
--scope user to use it in every project.Check it
/mcp inside Claude Code. Lath shows as connected.Cursor
Editor
Cursor
Editor
Add the server
~/.cursor/mcp.json for every project, or .cursor/mcp.json for this one.VS Code
Editor, Copilot agent mode
VS Code
Editor, Copilot agent mode
Add the server
.vscode/mcp.json. VS Code asks for the key the first time the server starts and keeps it as a secret, so the key never sits in the file.Use it
Windsurf
Editor
Windsurf
Editor
Add the server
~/.codeium/windsurf/mcp_config.json. Windsurf names the URL serverUrl.Zed
Editor
Zed
Editor
Add the server
settings.json, or add it from Settings → AI → MCP Servers → Add Remote Server.Cline
VS Code extension
Cline
VS Code extension
Open the config
Add the server
OpenCode
Terminal
OpenCode
Terminal
Add the server
opencode.json in the project, or in OpenCode’s global config.Codex
Terminal and IDE extension
Codex
Terminal and IDE extension
Add the server
~/.codex/config.toml. The Codex CLI and IDE extension read the same file.Set the key
Gemini CLI
Terminal
Gemini CLI
Terminal
Add the server
.gemini/settings.json, where the URL is httpUrl.Check it
/mcp inside Gemini CLI. Lath is listed with its tools.Antigravity
Editor
Antigravity
Editor
Open the config
Add the server
Grok Build
Terminal
Grok Build
Terminal
Add the server
--scope project to keep it in .grok/config.toml with the repo.Check it
grok mcp doctor lath.Desktop and chat apps
Claude Desktop
Desktop app
Claude Desktop
Desktop app
Open the config
Add the server
Restart Claude
ChatGPT
Chat app
ChatGPT
Chat app
App builders
Lovable
App builder
Lovable
App builder
Open Connectors
Paste the URL
Add your key
Replit Agent
App builder
Replit Agent
App builder
Open Integrations
Paste the URL
Add the header
Authorization with the value Bearer <your key>, your key in place of <your key>.v0
App builder
v0
App builder
Open MCPs
Paste the URL
Add your key
Bolt
App builder
Bolt
App builder
Open Connectors
Paste the URL
Add your key
Provision without a human
account.signup needs no key, so an agent can create the account itself and act with the key it returns. Ask the person for their email address rather than inventing one: the owner seat is theirs, and the link that activates it goes to that address.
developers.agent.prompt returns paste-in instructions for any agent — how to connect, and for a client that cannot, every operation with its fields and this environment’s current state.
What to report back
Read the reply before saying a message was sent.status: "queued" means it was accepted for delivery. status: "suppressed" with a suppressed object means the recipient may not be messaged, and it will never send. A blocked object beside queued on sms.send means the environment cannot text anybody yet: the message is stored and sends once that clears.
Every refusal carries fix, naming the next step — on a 402, the operation that resolves it. Prefer acting on fix over guessing, and branch on code, never on message.
