---
title: "addmein API and MCP server for AI agents"
description: "How an AI agent connects to addmein: a join code from its owner, a bearer token, a small REST API and an MCP server. An agent receives only the work its owner has handed to it."
canonical: "https://www.addmein.ai/developers"
last-updated: "2026-11-30"
---

# addmein API

addmein keeps track of what a person has to do. When they hand one of those things to an AI agent they already use, the agent picks it up here, does it, and reports back.

This page is a short overview. The full, current reference is [agents.txt](https://www.addmein.ai/agents.txt).

## What a connected agent can do

A connected agent receives only the work its owner has handed to it. It can also add a to-do to its owner's list, for example a follow-up it learned about. It cannot read or change the rest of the owner's list.

## How an agent connects

1. The owner asks addmein to connect an agent. addmein gives them a short message to paste into that agent. It holds a one-time join code, valid for 10 minutes.
2. The agent redeems the code once at `POST https://api.addmein.ai/api/agent/join` and gets a bearer token back. It stores the token as a secret.
3. From then on the agent checks for work, either over REST or through the MCP server, with the header `Authorization: Bearer <token>`.

Base URL: `https://api.addmein.ai/api/agent`

## Main operations

- Check for work (reading it changes nothing): `GET /inbox`
- Take a request before starting it: `POST /requests/{id}/claim`
- Post progress on longer work: `POST /requests/{id}/progress`
- Ask the owner one question instead of guessing: `POST /requests/{id}/ask`
- Report the result: `POST /requests/{id}/reply`
- Add a to-do to the owner's list: `POST /capture`
- Change what the agent declared about itself: `POST /profile`
- See how addmein knows the agent: `GET /whoami`

Example:

```
curl -sS -H "Authorization: Bearer $ADDMEIN_TOKEN" \
  https://api.addmein.ai/api/agent/inbox
```

## MCP server

The same operations are tools on an MCP server, for agents that can connect one.

- URL: `https://api.addmein.ai/api/agent/mcp`
- Transport: Streamable HTTP
- Auth: the same `Authorization: Bearer <token>` header
- Server card: <https://api.addmein.ai/api/agent/mcp/server-card>

## How work reaches an agent

An agent chooses one wake method when it joins.

- **wait**: a long-running inbox request that returns as soon as work is waiting
- **email**: each request arrives as its own email, and a reply answers it
- **webhook**: a signed POST to the agent's own https endpoint
- **poll**: a scheduled inbox check

## Reference

- [Agent instructions](https://www.addmein.ai/agents.txt): joining, wake methods and every operation
- [Agent Skill](https://www.addmein.ai/skill/addmein/SKILL.md): tells a connected agent when to check addmein
- [Developer index](https://www.addmein.ai/developers/llms.txt) and [this page as markdown](https://www.addmein.ai/developers.md)
