> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tashvi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Tashvi API

> The Tashvi API is an MCP server at https://mcp.tashvi.ai/mcp. Any app or AI agent can design jewelry, make videos, 3D drafts and castable CAD, and work in Tashvi One, with an API key and prepaid US-dollar credits.

The Tashvi API lets your code or your AI agent do what you do in the studio: design a piece, change it, film it, turn it into a 3D draft or a castable CAD build, and read or change your stock and books in Tashvi One.

It's an MCP server (Model Context Protocol), so Claude, ChatGPT, Cursor, Codex and any other MCP client can call it directly.

```text theme={null}
https://mcp.tashvi.ai/mcp
```

* **Transport:** Streamable HTTP, JSON-RPC 2.0, `POST` only. Each request gets a JSON answer; no session is kept.
* **Sign-in:** an API key, sent as `Authorization: Bearer tsk_live_…`. See [Authentication](https://docs.tashvi.ai/api/authentication.md).
* **Money:** prepaid API credits in US dollars, bought in the console. Every price is shown in dollars. See [Pricing](https://docs.tashvi.ai/api/pricing.md).

## What you can do

Seven tools do the work. Tashvi's own design, video, 3D and Tashvi One agents run behind them, so you send a person's words, not model settings.

| Tool | What it does |
| - | - |
| `tashvi_design` | Designs or edits a jewelry image: "a rose gold three-stone ring", "make the band thinner", four options at once, or the piece worn on a model |
| `tashvi_video` | Makes a short film of a design |
| `tashvi_3d` | Makes a quick 3D draft (a textured mesh) or a castable CAD build with STEP and STL files |
| `tashvi_library` | Looks up your designs, uploaded CAD files, 3D drafts, design chats and account. Free |
| `tashvi_ask` | Answers a question in words: how much gold a piece holds, today's metal rate, how a setting works |
| `tashvi_one_ask` | Reads your Tashvi One stock and books |
| `tashvi_one_change` | Makes a change in Tashvi One: book stock, move a piece, open a sale, record a payment |

Inputs, outputs and timing for each are in the [tool reference](https://docs.tashvi.ai/api/tools.md).

## People and agents

A person and an agent each have a part, and the order matters.

* **A person** signs up, buys credits and makes the API key, in a browser, at [console.tashvi.ai](https://console.tashvi.ai).
* **An agent** works with that key: it designs, films, builds in 3D, looks things up and works in Tashvi One, and every call is charged to the person's balance.

> [!NOTE]
>
> An agent can't sign itself up, buy credits, make or revoke keys, or change billing. A key is refused on every one of those, whatever it is told. When an agent runs out of credits, it should stop and ask the person to top up. See [For AI agents](https://docs.tashvi.ai/api/agents.md).

## Quickstart

**1. Sign up and add credits**

Sign in at [console.tashvi.ai](https://console.tashvi.ai) with your Tashvi account, or create one, and verify your email address. Then buy credits at [console.tashvi.ai/credits](https://console.tashvi.ai/credits). The smallest purchase is \$5.

**2. Make an API key**

Go to [console.tashvi.ai/keys](https://console.tashvi.ai/keys) and make a key. Copy it straight away: it's shown once. Keep it in an environment variable:

```bash theme={null}
export TASHVI_API_KEY=tsk_live_…
```

**3. Connect your agent and ask for a ring**

For Claude Code:

```bash theme={null}
claude mcp add -s user -t http tashvi https://mcp.tashvi.ai/mcp \
  -H "Authorization: Bearer $TASHVI_API_KEY"
```

Then ask: "Design an 18k rose gold three-stone ring with oval sapphires." Every other app, and plain `curl`, is in [Connect an agent](https://docs.tashvi.ai/api/connect-an-agent.md).

## Two Tashvi MCP servers

Tashvi runs two MCP servers. Use the one that fits the job.

| Server | URL | Key | What it's for |
| - | - | - | - |
| **Tashvi API** | `https://mcp.tashvi.ai/mcp` | Yes | Designing, video, 3D drafts and CAD, your library, Ask, and Tashvi One |
| **Content server** | `https://tashvi.ai/api/mcp` | No | Read-only: product facts, plan prices, jewelry guides and release notes from tashvi.ai |

The content server can't design. Everything on these pages is about the Tashvi API.

## Next

> [card] [Authentication](https://docs.tashvi.ai/api/authentication.md)
>
> Keys, scopes, expiry and spending caps.

> [card] [Connect an agent](https://docs.tashvi.ai/api/connect-an-agent.md)
>
> Setup for each app, and raw curl.

> [card] [Tools](https://docs.tashvi.ai/api/tools.md)
>
> Every tool's inputs and results.

> [card] [Pricing](https://docs.tashvi.ai/api/pricing.md)
>
> What each call costs, in dollars.

> [card] [Errors and limits](https://docs.tashvi.ai/api/errors-and-limits.md)
>
> Error codes and how many calls can run at once.

> [card] [For AI agents](https://docs.tashvi.ai/api/agents.md)
>
> How an agent should find, call and pay for Tashvi.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.