> Minded’s MCP server is https://mcp.minded.com: connect an agent to it with a Minded API key to hand work to Minded.

# Minded API and Minded SDK

Reach Minded from code: the API with a key, or the SDK inside an agent.

There are two ways to reach Minded from code.

- **The Minded API** lets an outside agent (Claude, ChatGPT or your own code) work with Minded as you. It holds an API key that you make in Minded.
- **The Minded SDK** lets an agent's own code (its custom tools and hooks) reach Minded inside a run. It never holds a key.

Both sides share one set of actions and one set of rules. Nothing that calls Minded can do more than the member it acts as, and no caller holds a key that skips roles or approvals.

## Who it is for [#who-it-is-for]

- You work in Claude or ChatGPT and want to hand work to Minded without leaving it.
- You write code that starts work in Minded and reads the result.
- You build Minded agents whose code starts other chats or agent runs.

## What phase 1 covers [#what-phase-1-covers]

**With an API key, over MCP** at `https://mcp.minded.com`:

| Tool | What it does | Page |
| --- | --- | --- |
| `send_prompt` | Starts a Minded chat in your Recents, or adds to one | [Prompts and replies](/docs/developers/prompts-and-replies) |
| `read_chat` | Reads the reply. You can stop and read the rest later, from where you stopped | [Prompts and replies](/docs/developers/prompts-and-replies) |
| `answer_question` | Answers a question or an approval Minded raised | [Questions and approvals](/docs/developers/questions-and-approvals) |
| `read_usage` | Your usage left, your own spend, a chat's spend | [Usage](/docs/developers/usage) |
| `find_actions` | Lists what the key may do by name, with no prompt | [Actions](/docs/developers/actions) |
| `run_action` | Runs one of those actions: your chats, agents and runs listed and read, billing read. Spends no usage | [Actions](/docs/developers/actions) |

**With an API key, over HTTP** at `https://app.minded.com/v1`: the same actions as routes, plus reading a reply as it streams and a chat's wake-ups. See [Prompts and replies](/docs/developers/prompts-and-replies#over-http).

**From an agent's code**, with the Minded SDK: start a chat or send to one the run started, read it, start another agent's run, and read usage. See [Agent code](/docs/developers/agent-code).

A prompt sent with a key is a normal Minded chat. Roles, approvals and usage apply as in any chat.

## What comes later [#what-comes-later]

- Starting agent runs with a key, and writing to Agents, Monitoring and Quality.

To stop Minded's work, press Stop in the Minded chat.

## Pages [#pages]

1. [Quickstart](/docs/developers/quickstart)
2. [API keys](/docs/developers/api-keys)
3. [Prompts and replies](/docs/developers/prompts-and-replies)
4. [Questions and approvals](/docs/developers/questions-and-approvals)
5. [Usage](/docs/developers/usage)
6. [Errors](/docs/developers/errors)
7. [Agent code](/docs/developers/agent-code)
