---
name: context7-admin-get-started
description: Connect your coding agent to the Context7 Admin MCP, so it can manage your teamspaces, libraries, Docs7 sites and Ask sites.
title: 'Manage Context7 from your agent'
url: https://context7.com/admin-mcp/get-started.md
---

# Set up the Context7 Admin MCP

Run the commands yourself. The user only signs in, in the browser. Write the user's global configuration (never a config file in the current folder), keep their other MCP entries, and do not wait on a command that needs the user.

Server: `context7-admin`, `https://admin.mcp.context7.com/mcp` (streamable HTTP, OAuth). If the user's account already has a connector with this URL, use it.

## 1. Install

- **Claude Code:** `claude mcp add --transport http --scope user context7-admin https://admin.mcp.context7.com/mcp`
- **Codex:** add to `~/.codex/config.toml`:
  ```toml
  [mcp_servers.context7-admin]
  url = "https://admin.mcp.context7.com/mcp"
  ```
- **Cursor:** add to `mcpServers` in `~/.cursor/mcp.json`: `"context7-admin": { "url": "https://admin.mcp.context7.com/mcp" }`
- **VS Code:** `code --add-mcp '{"name":"context7-admin","type":"http","url":"https://admin.mcp.context7.com/mcp"}'`
- **OpenCode:** `opencode mcp add context7-admin --url https://admin.mcp.context7.com/mcp`
- **Devin:** `devin mcp add context7-admin --url https://admin.mcp.context7.com/mcp -s user`
- **Antigravity:** add to `mcpServers` in `~/.gemini/config/mcp_config.json`: `"context7-admin": { "serverUrl": "https://admin.mcp.context7.com/mcp" }`
- **Claude.ai and Claude Desktop:** ask the user to add it as a custom connector: Customize → Connectors → + Add → Add custom connector, with the server URL. On a Team or Enterprise plan an owner adds it in Organization settings first.
- **ChatGPT:** ask the user to add it: on the web, chatgpt.com/plugins → + → Add custom MCP server → Create as a plugin, with the server URL; in the desktop app, Settings → MCP servers → Add server (Streamable HTTP).
- **Other clients:** ask the user to add a custom connector with the server URL. Server details: https://context7.com/docs/howto/admin-mcp

## 2. Sign in

Give the user the sign-in step for their client. Do not run it yourself: it waits for the browser. Do not ask for an API key.

- Claude Code: `/mcp`, select `context7-admin`, Authenticate
- Codex: `codex mcp login context7-admin`
- OpenCode: `opencode mcp auth context7-admin`
- Devin: `devin mcp login context7-admin`
- Cursor, VS Code, Antigravity: reload the client and approve the sign-in when it opens
- Claude.ai, Claude Desktop, ChatGPT: the connector asks for the sign-in while it is added (ChatGPT desktop: Authenticate on the server)

## 3. Verify

If the server is loaded, call the read-only `list_teamspaces` tool. If it is not loaded yet, do not wait: report it as pending.

## 4. Report

Always end with this block, with only what you checked:

```text
Context7 Admin: <ready|waiting for sign-in|waiting for reload|blocked: reason>
Client: <client>
Teamspaces: <names|pending|blocked: reason>
Next step for the user: <what to do>
```

Then suggest a first request, such as "How much did my teamspace use this month?". Changes always ask for the user's confirmation. To report a problem with this page or the server, use the `submit_feedback_to_context7_team` tool.
