https://mcp.tashvi.ai/mcp carries an API key in the Authorization header:
Make a key
1
Open the keys page
Sign in at console.tashvi.ai/keys. Your email address must be verified first.
2
Name it and choose what it can do
Name the key after where it will live, like “Claude Code on my laptop”. Choose its scopes, and set an expiry date or a monthly spending cap if you want one.
3
Copy it once
The key is shown once, when you make it. Tashvi keeps only a fingerprint of it, so a lost key can’t be shown again: revoke it and make a new one.
Scopes
A key does only what its scopes allow. A tool the key’s scopes don’t cover isn’t listed to it bytools/list, and can’t be called.
A new key gets all five unless you choose fewer. A key with only
read can look but never spend.
Expiry
A key with an expiry date stops working at that moment, and every call with it gets401. Make a new key before the old one runs out.
Monthly spending cap
A cap is a dollar limit on what one key can spend in a month, on top of your account balance. When a key reaches its cap, calls that cost money are refused with402 and the code key_spend_cap_reached, which says when the cap resets (resets_at). Raise the cap in the console, or wait for the reset.
Give every key an agent runs unattended a cap.
Keep the key safe
- Use an environment variable. Tashvi’s setup examples read
TASHVI_API_KEY. - Never put a key in client code: a web page, a mobile app, a browser extension or a public repository. Anyone who sees it can spend your credits. Calls from a web page are refused anyway (
403origin_not_allowed). - Never paste a key into a chat. Put it in your app’s config or environment, not in a message to an AI.
- Keep it out of logs and screenshots.
Revoke and rotate
Revoke a key at console.tashvi.ai/keys. It stops working within about 10 seconds. To rotate a key without downtime:- Make a new key.
- Put it where the old one was, and restart the app.
- Revoke the old key.
What a key can never do
Some things only a signed-in person can do. A key is refused on all of them, whatever its scopes:- Make, list or revoke keys
- Buy credits, change the plan or billing
- Delete the account, or change email or password
- Change team or workspace membership
- Connect other apps to the account
403 api_key_scope.
If the account is suspended or deleted, its keys stop working within about a minute.
Sign in instead of a key (rolling out)
Apps that add MCP servers as connectors, like claude.ai and ChatGPT, can’t send a key. They connect by sign-in (OAuth): you addhttps://mcp.tashvi.ai/mcp as a connector, press Connect, sign in to Tashvi and press Allow. A signed-in app gets the same five scopes a new key gets.
Sign-in is rolling out and isn’t on for every account yet. Until it reaches yours, use a key from an app that can send one: Claude Code, Claude Desktop, Cursor, Codex and most MCP clients can. See Connect an agent.
You can see and disconnect signed-in apps in the studio under Settings → Connected AI apps.