# Zulink

## MCP Server

> Category: AI agents

---

## Pages


### Getting started

- [What is Zulink?](https://docs.zulink.co/getting-started/what-is-zulink)
- [Quickstart](https://docs.zulink.co/getting-started/quickstart)
- [Custom domains](https://docs.zulink.co/getting-started/custom-domains)

### Links

- [Creating links](https://docs.zulink.co/links/creating-links)
- [Targeting](https://docs.zulink.co/links/targeting)
- [A/B testing](https://docs.zulink.co/links/a-b-testing)
- [Link security](https://docs.zulink.co/links/link-security)
- [Social previews](https://docs.zulink.co/links/social-previews)
- [Expiration and click limits](https://docs.zulink.co/links/expiration-and-click-limits)
- [QR codes](https://docs.zulink.co/links/qr-codes)
- [Bio pages](https://docs.zulink.co/links/bio-pages)
- [Open in app](https://docs.zulink.co/links/open-in-app)

### Design and analytics

- [OpenGraph Designer](https://docs.zulink.co/design-and-analytics/opengraph-designer)
- [Analytics](https://docs.zulink.co/design-and-analytics/analytics)
- [UTM templates](https://docs.zulink.co/design-and-analytics/utm-templates)

### Team and plans

- [Members and invitations](https://docs.zulink.co/team-and-plans/members-and-invitations)
- [Roles and permissions](https://docs.zulink.co/team-and-plans/roles-and-permissions)

### AI agents

- [MCP Server](https://docs.zulink.co/ai-agents/mcp-server)

---

# MCP Server

Zulink speaks the [Model Context Protocol](https://modelcontextprotocol.io), so an AI agent can create and maintain your links, read analytics and build preview designs for you. Connect your client once, then just describe what you need. The agent works in the same projects as the dashboard, so whatever it does shows up there right away.

## Connecting

The server is hosted at `https://zulink.co/mcp`. There is nothing to install and no key to copy.

### Claude Code

```bash
claude mcp add --transport http zulink https://zulink.co/mcp
```

### Codex

Add the server to `~/.codex/config.toml`:

```toml name="config.toml"
[mcp_servers.zulink]
url = "https://zulink.co/mcp"
auth = "oauth"
```

Then sign in once:

```bash
codex mcp login zulink
```

### Claude Desktop, Cursor and others

Most other clients read a JSON config:

```json name="mcp.json"
{
	"mcpServers": {
		"zulink": {
			"type": "http",
			"url": "https://zulink.co/mcp"
		}
	}
}
```

The first request opens your browser, where you sign in to Zulink and approve access. Your client remembers the login and renews it by itself.

## Permissions

The consent screen shows exactly what the client asks for, and you can approve just a part of it. A client that only got read access is told that writing isn't allowed.

On top of that, an agent never has more rights than you. Your role in each project applies unchanged, and a project you aren't a member of doesn't exist for the connection. See [Roles and permissions](/team-and-plans/roles-and-permissions).

## Getting started with an agent

Everything happens inside one project, so ask your agent to list your projects first and pick one. The list also tells it which plan the project is on and what this connection may do there.

After that, just say what you want:

- "Create a short link on go.example.com that points at our pricing page and tag it spring."
- "Which links got the most clicks in the last 30 days, and from which countries?"
- "Send Android visitors of the download link to Play and everyone else to the website."
- "Build a preview design with our logo, the title on the left and a dark background, and use it on the pricing link."

The agent can list projects and domains, search, read, create, update and delete links, check whether a path is free, read analytics, and work with designs including uploading images and rendering a PNG preview. You can also hand it a single link or design as a reference instead of describing it.

## Good to know

**Passwords stay hidden.** The agent only sees whether a link has a password. It can set a new one if you ask.

**It can't overwrite blindly.** To change something, the agent has to have read its current state. If a colleague changed it in the meantime, the write fails and the agent has to look again. Nobody's edits get lost silently.

**Deleting needs a confirmation.** Removing a link, design or canvas element is a deliberate extra step.

**Your plan applies.** An agent can't switch on a feature your plan doesn't include.

**Changes are real.** There is no sandbox. Deleted links stop working immediately, just as in the dashboard.

**Rate limits.** A connection can make 120 requests per minute, up to 30 of them changes and up to 10 expensive ones, like image uploads or preview renders. An agent that hits a limit waits a moment and carries on.

## Disconnecting

Remove or log out of the server in your client, and its access stops immediately. Access is also tied to the sign in you approved it with, so ending that session under **Account settings → Active sessions** cuts it off too. Reconnecting always goes through the consent screen again.
