Skip to content

Unspar MCP server

With MCP, your AI tool can use Unspar while you chat with it. You ask for an article, the tool asks Unspar to write it and shows you the text. Unspar has a hosted server for Claude Code and Codex, and a local server in the unspar CLI for all other tools.

All docs pages

MCP stands for Model Context Protocol. It’s a standard way for AI tools to connect to outside services. A service offers a list of tools, such as starting an article or checking its status. Your AI tool sees that list, picks the right tool when you ask for something, and calls it. You see each call right in the chat.

Unspar’s MCP tools work in your projects and spend your credits, the same way the web app does. MCP is one of three ways an agent can reach Unspar. See Unspar for agents to compare it with the CLI and the REST API.

Hosted or local?

Unspar offers two MCP servers. The hosted server runs on Unspar’s side, so you don’t have to install anything. The local server is built into the unspar CLI, and your AI tool starts it on your computer with unspar mcp serve.

Hosted server Local server
Where it runs At https://app.unspar.com/mcp On your computer
What you install Nothing The CLI
How it logs in You approve a connection in your browser Uses your CLI login
How long access lasts 30 days, then you connect again Same as your CLI login (90 or 30 days)
Publish articles No Yes, if your CLI login allows it
Price estimates and idea runs Yes No
Change a project’s site context Yes No
Create outlets and voices Yes No

An outlet is a site you’ve connected to Unspar, such as a WordPress blog. Both servers can configure the look of a project’s images.

The hosted server only accepts AI tools that finish their browser login on your own computer. Claude Code and Codex work that way. Cursor, VS Code, and claude.ai redirect you back to an address on their own websites, which the hosted server refuses. Because of that, every tool except Claude Code and Codex uses the local server.

AI tool Hosted server Local server
Claude Code Yes Yes
Codex (CLI and editor extension) Yes Yes
Claude Desktop No Yes
Cursor No Yes
VS Code with GitHub Copilot No Yes
Gemini CLI, Windsurf, Devin Desktop, Zed Not tested Yes
Any tool that starts local MCP servers Not tested Yes
claude.ai in the browser No No
ChatGPT No No

claude.ai and ChatGPT run in the cloud, so they can’t start the local server on your computer either.

With Claude Code or Codex, you can use either server. Pick the hosted server if you don’t want to install anything. Pick the local server if you want your agent to publish articles, or if you already use the CLI.

Connect your AI tool

Setup varies by tool. For Claude Code with the hosted server, it takes one command:

claude mcp add --transport http unspar https://app.unspar.com/mcp

Next, type /mcp in Claude Code, select unspar, and choose Authenticate. Your browser will open Unspar’s approval page, which we cover in the next section. Set up your AI tool has the commands and configuration files for every tool and both servers.

Only the team owner and members with the Administrator role can approve a connection. The hosted server is included in every plan, including the free plan.

What do you approve?

The first time your AI tool connects to the hosted server, Unspar opens an approval page in your browser (if you aren’t signed in yet, you’ll sign in first). The page shows Connect followed by the name of your tool, and a summary at the top explains what the tool can access and in which projects. Access lasts up to 30 days. Choose Approve to connect or Deny to cancel. The page stays active for 10 minutes.

Clicking Approve right away grants the tool two permission groups across all current and future projects: it can read your projects and articles, and it can create articles and ideas (which spends credits). If you want to pick permissions yourself, open Advanced settings first.

Setting What you choose
Team The team the connection works in. Teams where you aren’t the owner or an administrator can’t be picked.
Access The groups in the table below. Team identity is always on.
Projects All projects, current and future, or Only these projects with a box for each project. All boxes start checked, so uncheck the projects the tool shouldn’t reach.

Each group includes a specific set of tools. MCP tools lists them by group.

Group What the tool may do Credits
Team identity See which team and connection it uses. None
Read workspace data Read projects and articles. Look up templates, voices, outlets, and credits. It changes nothing. None
Create and manage articles and ideas Start articles and idea runs, and ask for changes to finished articles. An article costs the same as in the web app. An idea run costs 1 credit. Price estimates are free.
Create and edit projects Create projects and change their site context and the look of their images. None
Manage destinations Connect and change outlets. It can’t publish. None
Manage authoring assets Create and change templates and voices. Building a voice from your writing samples costs credits.
Manage automation Turn Project Auto on or off, and delete projects or articles. None directly. Project Auto then writes articles by itself, which spends credits.

When you choose Only these projects, the tool can’t create new projects. It also won’t get tools for destinations or authoring assets, even if you check those groups, because they require access to all projects. If you uncheck every project, the tool only gets Team identity.

What does it cost?

Connecting is free, and read-only tools don’t cost anything either. Articles cost the same number of credits as they do in the web app: a standard article costs 1 credit, while longer or deeper ones cost more. See Credits and prices for the full breakdown.

On the hosted server, your agent can request a price estimate before writing. Estimates are free and don’t create anything. The local server doesn’t have an estimate tool.

The first round of revisions to a finished article is free. Additional rounds normally cost 1 credit, and you’re only charged if the revision succeeds.

If your agent calls the create tool twice, Unspar writes two articles and charges you for both. While an article is in progress, the agent should check its status instead of creating it again.

Can the agent publish?

Not over the hosted server. None of the permission groups include publishing, so your AI tool never sees a publish tool there. Articles started through the hosted server also never publish automatically, even if the project has auto-publish turned on. You can publish them yourself from Articles in the web app, or let an agent publish through the local server or the CLI.

The local server can publish if your CLI login allows it, and a full-access login does. Keep in mind that the local server never asks for confirmation before spending credits or publishing. If your AI tool prompts you before running a tool, that prompt is your only safeguard. You should also check a project’s auto-publish settings before letting an agent write there. Scheduling and auto-publish explains how they work.

A typical session

Here is what happens when you ask Claude Code on the hosted server: “Write an article about choosing a domain name. Tell me the price first.” You’ll see these tool calls in the chat:

Step Tool What happens
1 unspar_project_list Claude finds the right project.
2 unspar_article_estimate Claude tells you the price. A normal article costs 1 credit.
3 unspar_article_create After you say yes, Unspar starts to research and write.
4 unspar_article_status Claude checks from time to time until the article is finished.
5 unspar_article_content Claude shows you the text.
6 unspar_article_revise You ask for a change. Claude sends it, waits, and shows the new text.

Once you’re happy with the article, you publish it in the web app. If you’re using the local server, Claude can publish it directly with unspar_article_publish.

When does a connection end?

A hosted connection expires 30 days after you approve it, no matter how often you use it. After that, your AI tool can’t reach Unspar until you reconnect and approve a new connection. Set up your AI tool shows how to do this for Claude Code and Codex.

Each time you connect, Unspar creates a new connection while leaving the old one active until it expires or you revoke it. When Unspar introduces new tools, existing connections don’t get them automatically. Reconnect to approve the new tools.

Revoke a connection

The MCP connections page lists all your hosted connections, each with a Revoke button. There’s no menu link to it in the app. To get there, open the API tokens screen from Settings, then change the end of the URL in your browser from /api-tokens to /mcp-connections. API keys and connections has more details on that page.

Removing Unspar from your AI tool doesn’t end the connection on Unspar’s side, so revoke it there too. The local server doesn’t have its own connection. It uses the key from your CLI login, which you can revoke under API tokens.

Why doesn’t the connection work?

Most problems show a message on the approval page or in your AI tool.

What you see What to do
“You must be the owner or an admin for this team.” Ask the team owner to connect, or to give you the Administrator role.
“This authorization request has expired. Restart the connection from your MCP client.” The page works for 10 minutes. Start the connection again from your AI tool.
Unspar asks you to confirm your email address. Confirm it. You need a confirmed address before you can approve a connection.
Your AI tool shows an error when you add https://app.unspar.com/mcp. If the tool isn’t Claude Code or Codex, it can’t use the hosted server. Set up the local server.
The Unspar tools stopped working after a few weeks. The 30 days are over. Connect again from your AI tool.
The agent says a tool is missing. The connection doesn’t have that group, it is limited to some projects, or the tool is newer than the connection. The Access column on the MCP connections page shows what it has.

Last updated 25 November 2026. This page as Markdown: mcp.md

Try Unspar for free

Create a project, give it a topic and read the article before anything goes live.