Skip to main content
Every app connects to the same URL with the same key:
  • URL: https://mcp.tashvi.ai/mcp
  • Transport: Streamable HTTP
  • Header: Authorization: Bearer $TASHVI_API_KEY

Before you start

  1. Make a key at console.tashvi.ai/keys and buy credits at console.tashvi.ai/credits. See the quickstart.
  2. Put the key in an environment variable, in the shell or profile your app starts from:
  3. Give tool calls at least 240 seconds. A design takes 20 to 90 seconds, and a film or a 3D job waits up to about 3 minutes in one call. The examples below set 330 seconds where the app allows it.

Claude Code

Add the server for every project:
This writes the key itself into Claude Code’s config. To keep it in the environment instead, put this in a project’s .mcp.json. Claude Code reads ${TASHVI_API_KEY} when it starts:
.mcp.json
Run /mcp in Claude Code to check that tashvi is connected.

Claude Desktop

Claude Desktop’s own connectors use sign-in (see claude.ai below). To connect with a key today, use the mcp-remote bridge, which needs Node.js.
1

Open the config

In Claude Desktop, go to Settings → Developer → Edit Config.
2

Add Tashvi

Paste this, with your key in place of the placeholder:
claude_desktop_config.json
The key goes in env, not in args: Claude Desktop doesn’t escape the space in Bearer tsk_… when it passes an argument.
3

Restart Claude Desktop

Quit and reopen it. Tashvi’s tools are then available in new chats.

claude.ai

claude.ai connects by sign-in, not with a key. Sign-in is rolling out, so it may not be on for your account yet.
1

Add the connector

In claude.ai, go to Settings → Connectors → Add custom connector, and enter https://mcp.tashvi.ai/mcp.
2

Connect

Press Connect, sign in to Tashvi, and press Allow.
The connector also works in Claude Desktop and the Claude mobile apps on the same account. You can disconnect it in the studio under Settings → Connected AI apps.

Cursor

Add Tashvi to ~/.cursor/mcp.json:
~/.cursor/mcp.json
If Cursor can’t see the variable (it was opened from the dock, not a shell), put the key in the file instead.

Codex

Or add it to ~/.codex/config.toml. The key stays in the environment either way:
~/.codex/config.toml

ChatGPT

ChatGPT connects by sign-in, like claude.ai, and can’t send a key. Sign-in is rolling out, so it may not be on for your account yet. In ChatGPT’s settings, turn on developer mode for apps and connectors, create a connector with the URL https://mcp.tashvi.ai/mcp and OAuth sign-in, then sign in to Tashvi and press Allow.

Gemini CLI

Any other MCP client

Give it the URL, the Streamable HTTP transport and the header above. That covers Windsurf, Cline, Zed, VS Code and most other hosts that take a remote server with a header. A client that can only start local (stdio) servers can use the same mcp-remote bridge as Claude Desktop.

Raw HTTP with curl

Every message is one POST of a JSON-RPC 2.0 object, and every answer is one JSON object. There’s no session to keep, no server-sent event stream, and no batching (send one message per request).

1. Initialize

Tashvi speaks protocol versions 2024-11-05, 2025-03-26, 2025-06-18, 2025-11-25 and the stateless 2026-07-28. Ask for one of those and you get it; ask for another and you get 2025-06-18. A client may then send notifications/initialized; it’s accepted with 202 and no body.

2. List the tools

The answer is result.tools: each tool’s name, title, description, inputSchema and annotations. Only the tools your key’s scopes allow are listed.

3. Call a tool

Start with a free call. This one reads the account:
Then a design. This one spends credits (see prices) and takes 20 to 90 seconds, so give curl a long timeout:
The result’s text has one line per design, Design 1 (designId …): https://tashvi.ai/d/…, and the sessionId of the design conversation. Send that sessionId back with the next request (“make the band thinner”) to keep editing the same piece. The result also carries one picture of the design. See tashvi_design for the full shape. A tool that fails still answers 200 with a JSON-RPC result: isError is true and structuredContent has error (a sentence) and code. Problems with the key or the request itself come back as HTTP errors. Both are listed in Errors and limits.