> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.writesonic.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Server

> Connect Writesonic Agents to Claude, ChatGPT, and other MCP-compatible assistants. Manage tasks, playbooks, grids, knowledge base, and pages from chat.

## Overview

The Agents MCP server lets an AI assistant work with your [Agents](https://apidocs.writesonic.com/agents/overview.md) workspace directly from a conversation. Ask it to list your tasks, create one, inspect a playbook or grid, search your knowledge base, or pull a pages report, and it calls the right tool for you.

**Server URL:**

```
https://mcp.agents.writesonic.com/mcp
```

> [!NOTE]
>
> **Agents is in beta.** Access is currently limited to selected enterprise and agency accounts. To request it, talk to your account manager or [book a demo](https://writesonic.com/?demo=open) with our sales team.

> [!NOTE]
>
> This is a different server from the [GEO MCP](https://apidocs.writesonic.com/mcp/mcp-server.md) at `mcp.writesonic.com`. The GEO server answers questions about your AI-search **visibility data**; the Agents server operates your Agents **workspace**: projects, tasks, playbooks, grids, and knowledge base.

## What You Can Do

* **Manage tasks**: create tasks, query and filter them, transition status, assign owners, and comment
* **Track agent work**: pull agent-run history and step-by-step progress for a task or agent
* **Inspect playbooks**: browse a project's playbooks, versions, runs, and the building-block components
* **Read grids**: list grids and read their columns, rows, cells, and cell run detail
* **Search Knowledge Base**: run semantic search across your project's knowledge base, and read the brand kit
* **Pull Pages reports**: get the page dashboard and per-page SEO, citation, funnel, traffic, and SERP reports
* **See your setup**: resolve your identity and projects, list integrations, users, labels, skills, and agents
* **Handle attachments**: get short-lived download URLs for task and comment attachments

## Connection Methods

| Platform | How to Connect |
| - | - |
| **Claude.ai** | Settings › Connectors › Add custom connector, `https://mcp.agents.writesonic.com/mcp` |
| **Claude Desktop** | Add to `claude_desktop_config.json` (see [Setup Guide](https://apidocs.writesonic.com/agents-mcp/setup.md)) |
| **Claude Code** | `claude mcp add writesonic-agents --transport http https://mcp.agents.writesonic.com/mcp` |
| **ChatGPT** | Install the [Writesonic Agents app](https://chatgpt.com/plugins/plugin_asdk_app_6ad8f37465c4819181ac724b36dc9d45) from the ChatGPT app directory (see [Setup Guide](https://apidocs.writesonic.com/agents-mcp/setup.md#chatgpt)) |

Team and Enterprise admins can roll the connector out org-wide, see [Organization Setup](https://apidocs.writesonic.com/agents-mcp/setup.md#organization-setup).

## How It Works

1. **Connect**: add the Agents MCP server URL to your assistant
2. **Authenticate**: sign in with your Writesonic account via OAuth when prompted
3. **Work**: ask in natural language; the assistant calls the tools

### Example Conversation

> **You:** What tasks are open in my project, and who's on them?
>
> **Assistant:** Let me check your Agents workspace.
>
> *Assistant calls `whoami`, then `query_tasks` with `view: "list"` scoped to your project.*

## Scoping: projects come first

Almost every tool needs a `project_id`. Start each session by having the assistant call `whoami`, it returns your identity, your teams, and the projects in your active workspace. The assistant uses a project's `id` from that response for every following call. If more than one project could match, the assistant should ask rather than guess.

## Requirements

* A Writesonic account with **Agents access** (beta)
* At least one project in your [Agents workspace](https://agents.writesonic.com)

## Available Tools

The server exposes 20 tools for reading and operating your Agents workspace, plus two meta-tools (`execute_batch`, `execute_plan`) for chaining calls efficiently. See the [Tools Reference](https://apidocs.writesonic.com/agents-mcp/tools-reference.md) for full details. The core tools to know:

| Tool | Description |
| - | - |
| `whoami` | Your identity, teams, and projects (call this first) |
| `query_tasks` | List or count a project's tasks |
| `get_task` | Full detail for one task |
| `create_task` | Create a task in the project |
| `update_task` | Edit fields, transition status, or assign a task |
| `comment_on_task` | Comment on a task |
| `get_agent_runs` | Agent-run history and per-run progress |
| `list_workflows` / `get_workflow` | Browse playbooks and their versions and runs |
| `list_grids` / `get_grid_data` | List grids and read their data |
| `search_knowledge` | Semantic search over the Knowledge Base |
| `get_brand_kit` | Read the project's Brand Kit |
| `get_ci_dashboard` / `get_page_report` | Pages dashboard and page reports |

## Next Steps

> [card] [Setup Guide](https://apidocs.writesonic.com/agents-mcp/setup.md)
>
> Platform-specific setup instructions

> [card] [Tools Reference](https://apidocs.writesonic.com/agents-mcp/tools-reference.md)
>
> Every tool, its purpose, and its REST equivalent

> [card] [Use Cases & Examples](https://apidocs.writesonic.com/agents-mcp/examples.md)
>
> Real-world prompts and use cases

> [card] [Agents REST API](https://apidocs.writesonic.com/api-reference/agents/authentication.md)
>
> Call the same tools over HTTP


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.