Connect any agent with a personal key
Agents, scripts and tools that can't sign in reach your Letra ID with a personal key. Make one on letra.link, keep it in an environment variable, and send it as a bearer token to https://letra.link/mcp.
A key reaches your Letra ID only, uses your plan's Letra writes and works until you revoke it.
Make a key
On letra.link, open your dashboard and choose AI apps.
Under Keys, name the key for what it's for, then choose Make a key.
Copy it now. Letra shows it once and can't show it again.
Keep it in an environment variable where the agent runs, such as
LETRA_API_KEY. Never paste it into a config file, a command or a chat.
You can hold up to 10 live keys. Revoke one to make another.
Connect an agent
Every request carries the key as Authorization: Bearer letra_sk_..., read from LETRA_API_KEY. Apps that sign in don't need one: paste only the address.
Claude Code, for claude -p and scripts. The single quotes keep the key out of the saved config:
claude mcp add --transport http letra https://letra.link/mcp --header 'Authorization: Bearer ${LETRA_API_KEY}'Cursor, in mcp.json. Leave headers out and Cursor signs in to letra.link instead:
{ "mcpServers": { "letra": { "url": "https://letra.link/mcp", "headers": { "Authorization": "Bearer ${env:LETRA_API_KEY}" } } }}VS Code, in the file MCP: Open User Configuration opens. VS Code asks for the key the first time it starts Letra and keeps it out of the file:
{ "inputs": [ { "type": "promptString", "id": "letra-key", "description": "Letra key", "password": true } ], "servers": { "letra": { "type": "http", "url": "https://letra.link/mcp", "headers": { "Authorization": "Bearer ${input:letra-key}" } } }}Any other agent or tool that speaks MCP over Streamable HTTP takes the address and the header:
{ "mcpServers": { "letra": { "url": "https://letra.link/mcp", "headers": { "Authorization": "Bearer ${LETRA_API_KEY}" } } }}Limits per key
| Limit | Default | Over it |
|---|---|---|
| Tool calls per key a minute (UTC) | 60 | The tool says how long to wait, and nothing runs |
| Model calls per key a day (UTC) | 2,000 | The tool says it starts again at midnight UTC |
Each key also uses your plan's Letra writes, like every app you connect.
Revoke a key
On letra.link under AI apps, choose Revoke beside the key, then Revoke it. It stops working within a minute.
A revoked key can't be turned back on. Make a new one for the agent.
Questions
- Can I use a personal key with the Letra API?
- No. A personal key works on the Letra MCP only. The API takes an API key made for a product.
- Does ChatGPT take a key?
- No. ChatGPT connects over sign-in only: connect ChatGPT.
- What if a key leaks?
- Revoke it on letra.link under AI apps and make a new one. It stops working within a minute.