ReadMe's MCP Server
Manage your documentation and project from any AI Agent or CI pipeline.
Connect AI agents like ChatGPT, Claude Code, Cursor, and more. Create, edit, and maintain your documentation with ReadMe’s MCP server.
https://docs.readme.com/mcp
What You Can Do
Once connected, you can ask your agent to:
- Start a new project. If you don't have a ReadMe account yet, your agent can create your account and project.
- Create docs. Draft guides, API reference pages, and custom pages using ReadMe's MDX components.
- Maintain docs. Update pages after a code change, fix outdated content across your site, and reorganize categories and pages.
- Manage settings. View and update appearance, AI features, SEO, and other project settings.
Get Connected
You can have your agent setup the connection for you, or you can manually setup the MCP server and skills.
Have Your Agent Setup For You (Recommended)
Copy and paste this prompt into your agent to let it handle the connection configuration for you. This will install both the MCP server and the agent skills.
Set me up with the ReadMe skills and MCP server in this agent, then help me create my ReadMe project.
To do this - understand what client + surface you are running in from the options below:
- Cursor IDE, Cursor web, or Cursor CLI
- Claude Code CLI or the desktop Code tab
- Claude Desktop Chat or claude.ai
- ChatGPT web or desktop, Codex desktop app, or Codex CLI
- Any other agent, including local coding agents, or a user who does not want a plugin
Then read the instructions for setup here: https://docs.readme.com/docs/readme-mcp-skills-setup.md and ensure you get the full set of instructions for the client + surface you are in.
## After setup
Once the ReadMe skills are available and you can list tools from the ReadMe MCP server, use the \`setup-project\` skill to set me up with my new ReadMe account and project.
If the skills or MCP tools are not available yet because the client needs a restart or reload, tell the user exactly what to restart and they should resume this conversation after restarting. Don't recommend that they start a new conversation.Manual Connection
Configuration Options
Configure your MCP client to connect to the ReadMe MCP server.
Defaults to ReadMe's MCP server — replace with your own project URL if needed
https://docs.readme.com/mcpDo not commit API keys into files. Each key maps to one project, so to work with more than one project, register a separate MCP server for each with its own name and key.
ReadMe Skills
Skills are instructions your agent loads when a task needs them.
To install, either install the official ReadMe plugins on available applications, or run:
npx skills add readmeio/agent-pluginsThe skills are as-follows:
| Skill | What it helps your agent do |
|---|---|
setup-project | Create an account and project for new ReadMe users, then add initial content and branding |
managing-readme-docs | Confirm the right project and branch, and choose between the MCP server and Git |
edit-page-content | Write and update pages in valid MDX using built-in components and reusable content |
manage-navigation | Create categories, move and reorder pages, and change titles and slugs |
update-project-settings | View and change appearance, AI, SEO, access, and other project settings |
mcp-auth | Connect the MCP server to your project and fix authentication errors |
Branches and Bi-Directional Sync
Before editing pages, the skills confirm which branch to work on. Ask your agent to create a new branch off your stable version so you can review its changes before they go live. Project settings and changelog posts aren't versioned, so changes to them apply right away.
If your project uses Bi-Directional Sync, open your agent in the synced repository and it edits your docs as files through Git instead.
To share the setup with your team, install the plugin at project scope (for example, --scope project in Claude Code) and commit the configuration so contributors are prompted to install it.
Available Tools
Once connected, these tools are available through the MCP integration:
search— search ReadMe's own documentation by keywordfetch— retrieve a page from ReadMe's documentation by IDupdate-docs— start the docs update flow for documentation changeslist-specs— list the ReadMe's OAS spec files your agent can callsearch-endpoints— search those OAS spec's paths, operations, and schemaslist-endpoints— enumerate all paths and HTTP methods for one of the specsget-endpoint— inspect one endpoint in detail (parameters, security, servers)execute-request— call the ReadMe API with your API key to read and change your projectdraft-changelog— generate a changelog draft from merged PRs or git history
search and fetch answer questions about how ReadMe works. To read or change your own project's pages, branches, and settings, your agent uses execute-request with your API key.
Use Cases
For Developers: Sync Docs with Code Changes
Keep your documentation in step with every code change. Instead of manually tracking what changed and which doc to update, let your AI figure it out.
What you need:
- An AI coding assistant (Cursor, Claude Code, VS Code Copilot) connected to ReadMe's MCP server
- A ReadMe API key configured as the
authorizationheader
The prompt:
Update the ReadMe docs to reflect my recent code changes.
1. Use git tools to see what changed: `git diff HEAD~1` or `git log --oneline -10`
2. For each changed file, use the ReadMe MCP `search` tool to find docs that
cover that functionality
3. For each relevant doc, use the ReadMe MCP `fetch` tool to get the current
content
4. Use the ReadMe MCP `update-docs` tool to update any pages that are now
out of date, or create new pages where documentation is missing
What the AI does:
- Runs
git diff— sees thatsrc/auth/oauth.tswas updated with a newpkceparameter - Calls
search("OAuth authentication")— finds your "Authentication" guide - Calls
fetch(id)— reads the current content - Identifies the outdated section and rewrites it with the new PKCE details
- Calls
update-docs— pushes the updated content back to ReadMe
No tab-switching, no copy-pasting. Your docs stay current as part of your normal development flow.
For Everyone: Update Docs from Your Editor
Not every doc update starts with a code change. Sometimes you just need to tweak a description, add a note, or update a detail across your docs. With the ReadMe MCP server connected, you can do this with a simple natural language request — no need to open the ReadMe dashboard.
Just ask your AI assistant something like:
- "Update our docs to say the Agent uses Opus 4.6"
- "Add a note about the new rate limit to our API reference"
- "Rewrite the authentication section to mention SSO support"
What happens behind the scenes:
- Finds your live version by looking up your project's current stable branch.
- Creates a new branch (e.g.,
3.0_agent-opus-4-6-update) so your live docs are never modified directly. - Fetches the target page from the branch.
- Applies your requested changes to the page content.
- Verifies the update persisted with a follow-up read to confirm the changes were saved.
- Returns a review link so you can preview the changes and merge when ready.
You get a branch-based workflow with a review step — just like a pull request for your docs — without having to manage any of it yourself.
Bi-directional sync noteIf your project is synced with a Git repository, the MCP server will verify that writes persist after updating. In rare cases where the Git source of truth overrides API writes, you'll be notified to push the change via Git instead.
For Content Writers: Build and Apply a Style Guide
Use your best-performing content as the template for everything else.
Step 1 — Extract your style from top-performing pages
Use the ReadMe MCP tools to analyze my best-performing documentation.
1. Use `search` to find my top 10 most-viewed or highest-rated pages
2. Use `fetch` to pull the full content of each one
3. Analyze what they have in common: structure, tone, heading patterns,
code example placement, length, use of callouts, etc.
4. Write a concise style guide based on these patterns
The AI reads your actual best content and distills your team's voice into a reusable style guide — no guesswork, no generic writing advice.
Step 2 — Apply the style guide to underperforming content
Now use the style guide you just created to improve my worst-performing page.
1. Use `search` to find my lowest-rated or least-viewed page
2. Use `fetch` to get its current content
3. Rewrite it following the style guide: match the structure, tone, and
formatting patterns from the top-performing pages
4. Use `update-docs` to publish the improved version
The result: a data-driven content improvement loop, driven entirely by what already works in your docs.
For CI/CD: Auto-generate Changelogs on Release
Every time you ship a new version, automatically create a changelog entry in ReadMe.
Add this workflow to your repository at .github/workflows/changelog.yml:
name: Generate Changelog on Release
on:
release:
types: [published]
jobs:
update-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update ReadMe Changelog
uses: anthropics/claude-code-action@v1
with:
prompt: |
Use ReadMe MCP tools to create a new changelog entry.
Release version: ${{ github.event.release.tag_name }}
Release notes:
${{ github.event.release.body }}
Steps:
1. Use the `search` tool to find the existing Changelog page
2. Use the `fetch` tool to get its current content
3. Add a new section at the top for version ${{ github.event.release.tag_name }}
- Use today's date as the release date
- Summarize the release notes in a clear, developer-friendly format
- Group changes into: New Features, Bug Fixes, Breaking Changes
4. Use `update-docs` to publish the updated changelog
mcp_config: |
{
"mcpServers": {
"ReadMe MCP": {
"url": "https://docs.readme.com/mcp",
"headers": {
"authorization": "Bearer ${{ secrets.README_API_KEY }}"
}
}
}
}
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
README_API_KEY: ${{ secrets.README_API_KEY }}What you need in GitHub Secrets:
ANTHROPIC_API_KEY— your Anthropic API keyREADME_API_KEY— your ReadMe API key (format:rdme_xxx...)
What happens on every release:
- The workflow triggers when you publish a release in GitHub
- Claude connects to ReadMe's MCP server with your API key
- It finds your changelog page, reads the current content
- Writes a new, cleanly-formatted entry at the top
- Publishes it back to ReadMe - before you've even tweeted about the release
Updated 8 hours ago