---
title: "MCP server"
description: "Let AI agents shorten links, generate QR codes, and manage your INBIO account via the Model Context Protocol."
---

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

# MCP server

INBIO runs an official [Model Context Protocol](https://modelcontextprotocol.io)
server at **`https://mcp.in.bio/mcp`** (Streamable HTTP). Connect it to
Claude, Cursor, or any MCP-capable client and your AI assistant can create
short links, generate QR codes, and read your click analytics directly.

## Connect

### Claude Code

```bash
claude mcp add --transport http inbio https://mcp.in.bio/mcp
```
### Claude Desktop / claude.ai

Settings → Connectors → **Add custom connector** → URL
`https://mcp.in.bio/mcp`.
### Cursor / JSON config

```json
{
  "mcpServers": {
    "inbio": {
      "url": "https://mcp.in.bio/mcp",
      "headers": { "Authorization": "Bearer YOUR_INBIO_API_TOKEN" }
    }
  }
}
```

## Tools

**No token needed** — these work the moment you connect:

| Tool | What it does |
| --- | --- |
| `shorten_link` | Shorten any URL into an in.bio link (anonymous, claimable) |
| `generate_qr_code` | Styled QR code URL for any payload type — all design options |

**Token required** — add an `Authorization: Bearer <token>` header to the
connection (create a token under **Settings → API tokens**; API access is a
Pro/Business feature):

| Tool | What it does |
| --- | --- |
| `create_link` | Create a link with slug, tags, folder, UTM, expiration, password |
| `list_links` | List/search links with filters |
| `get_link` | Fetch one link |
| `update_link` | Edit any link fields |
| `delete_link` | Delete a link |
| `set_link_enabled` | Enable / disable a link |
| `get_link_analytics` | Clicks, countries, devices, browsers, referrers |
| `list_folders` / `list_tags` | Account organization |
| `get_account_usage` | Plan, usage, and limits |

The token's scopes (`links:read`, `links:write`, `analytics:read`) decide
which of these your agent can actually call — an agent with a read-only
token cannot delete anything.

## Discovery endpoints

For agent platforms that index MCP servers:

- Server card: `https://mcp.in.bio/.well-known/mcp/server-card.json` (also mirrored at `https://in.bio/.well-known/mcp/server-card.json`)
- OpenAPI spec for the underlying REST API: `https://in.bio/openapi.json`
- API catalog (RFC 9727): `https://in.bio/.well-known/api-catalog`
- Agent auth instructions: `https://in.bio/auth.md`

Source: https://docs.in.bio/mcp-server/index.mdx
