MCP · NextBlog

One MCP server. Every AI agent.

NextBlog exposes its whole content engine to the agent you already use.
The hosted server at https://nextblog.ai/api/mcp turns 37 dashboard actions into MCP tools: create projects, write and publish posts, generate articles and videos, configure integrations, read analytics and open Stripe links. Connect once, approve access in the browser, and the agent works against the same plan, credits and posts you see in NextBlog.
37 tools4 groupsOAuth or project API keyIncluded on every plan
Any Streamable HTTP client works, including the seven guides below.
What you get

The dashboard, callable from chat

No parallel product, no read-only demo account. The agent talks to the same NextBlog you would open in a browser.
37 tools, one accountProjects, posts, generation, integrations, analytics and billing links are all reachable from the agent, with the same IDs and statuses the dashboard shows.
Same plan, same creditsThere is no separate MCP subscription or balance. Read-only tools are free, and generation spends the monthly credits you already have.
Safe writes`create_post` costs 0 credits and keeps the status you ask for. Credit-spending and destructive tools require `confirm: true`, and billing tools only return Stripe URLs.
OAuth or a project keySign in once for account-wide access, or send `Authorization: Bearer nb_...` to pin an agent to a single project. Both work on every plan.
Authentication

One endpoint. Two credentials.

The server accepts the same credentials as the REST API, so a key you already use keeps working.
Streamable HTTP endpointPOST only: GET and DELETE return 405, there is no session to keep alive, and both protocol eras answer from this URL.
https://nextblog.ai/api/mcp
OAuth 2.1
Whole accountPeople connecting a client in a browser
The client reads the protected-resource metadata, opens the NextBlog consent page and you approve. Consent is always required, and the grant appears under Connected agents at nextblog.ai/agents.
Project API key
One projectCoding agents, CI and header-only clients
Send `Authorization: Bearer nb_...` with every request. Account-level tools answer `403 ACCOUNT_SCOPE_REQUIRED`, which keeps the agent inside that project. Project keys are full project scope.
• Consent is always explicit: a client can never approve itself, and every grant appears under Connected agents at nextblog.ai/agents.• Revoking deletes the grant, its sessions and refresh tokens. An access token already issued works until it expires, about an hour.• An unauthenticated request returns 401 with a WWW-Authenticate header pointing at the protected-resource metadata, so compliant clients can start OAuth on their own.• Prefer plain HTTP? Every tool has a REST equivalent at /docs#api-v1.
The loop

Plan, create, publish, connect

The same four moves the dashboard is built around, exposed as tools with the same guardrails.
01
Plan

Read the account before spending

Ask what exists and how it performs. These calls cost nothing, so the agent can orient itself before it writes a word.
whoamilist_projectsget_projectget_analytics
02
Create

Draft with the dashboard engine

Generation runs are queued and polled; manual writes cost zero credits. Either way the result is a real post you can edit.
generate_postget_generation_statuscreate_postupdate_post
03
Publish

Approve with the same rules

Publishing needs a paid plan and `confirm: true`. Approval then pushes to every enabled CMS and your webhook; unpublish reverts the post and removes it where the provider allows.
approve_postunpublish_post
04
Connect

Keep the publishing stack honest

The agent can inspect all 13 providers, test a connection and return the browser URL that starts an OAuth flow when one is missing.
update_integrationstest_integrationget_connect_url
FAQ

Common questions

The rules that apply to every client, before you connect the first one.
What is the NextBlog MCP server?
It is a hosted Model Context Protocol server at https://nextblog.ai/api/mcp that exposes 37 NextBlog actions as tools. It speaks stateless Streamable HTTP, so there is no session to keep alive, no npm package and no local process. GET and DELETE return 405; tool traffic is a single POST per call. Any 2025-era MCP client and the stateless 2026-07-28 envelope are answered from the same URL.
Is MCP included on every plan?
Yes, including the 14-day trial. The MCP server and the full REST API are part of the product, not an add-on. Existing gates still apply: approving posts needs a paid plan, generation spends monthly credits, and a preview account can own one project.
Should I use OAuth or a project API key?
Use OAuth when a person connects a client from a browser: consent is explicit, access covers the whole account and there is nothing to copy or store. Use a project API key when the client only supports custom headers, runs unattended, or must be limited to one project. An unauthenticated request returns 401 with a WWW-Authenticate header pointing at the protected-resource metadata, so spec-compliant clients can start OAuth by themselves.
How do I revoke an agent's access?
Open nextblog.ai/agents and choose Revoke under Connected agents. The grant, its sessions and refresh tokens are deleted immediately. An access token already issued keeps working until it expires, about an hour, and then the client has to reconnect and you approve it again.

Connect your agent to NextBlog

One endpoint, one plan and one credit balance. Pick a client above or read the docs before you start.