mdgen-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mdgen-mcp list my documents"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mdgen-mcp
MCP server for mdgen — read and write your mdgen documents from Claude Desktop, Claude Code, Codex CLI, and other MCP clients, using your own account. The AI runs on your subscription; mdgen never pays for generation.
What it does
Exposes your saved mdgen documents (available to logged-in users) as MCP tools:
Tool | Description |
| List your documents (id, title, mode, updatedAt) |
| Get a document's full Markdown by id |
| Create a new document ( |
| Update a document (only provided fields change) |
| Delete a document by id |
Related MCP server: MCP-Google-Doc
Prerequisites
A mdgen account (sign in at https://mdgen.app).
A personal access token (PAT): issue one from mdgen while logged in (Menu → API tokens). Copy it — it is shown only once.
Environment variables
Variable | Required | Default | Description |
| ✅ | — | Your mdgen personal access token |
|
| mdgen API base URL (must include the version prefix) |
Client setup
Claude Desktop
claude_desktop_config.json:
{
"mcpServers": {
"mdgen": {
"command": "npx",
"args": ["-y", "mdgen-mcp"],
"env": {
"MDGEN_TOKEN": "<your token>"
}
}
}
}Claude Code
claude mcp add mdgen --env MDGEN_TOKEN=<your token> -- npx -y mdgen-mcpCodex CLI
~/.codex/config.toml:
[mcp_servers.mdgen]
command = "npx"
args = ["-y", "mdgen-mcp"]
env = { MDGEN_TOKEN = "<your token>" }Security
Your PAT is passed via your client's
envand never leaves your machine except as aAuthorization: Bearerheader to the mdgen API. It is not stored in this package.The PAT grants access only to your documents. Revoke it anytime from mdgen.
Treat the token like a password. Do not commit it.
Development
npm install
npm run dev # run from source (tsx)
npm run build # emit dist/
npm test # unit testsPublishing
Releases publish to npm via GitHub Actions on v* tags, using
npm Trusted Publishing (OIDC, no token)
with build provenance.
npm version patch # bump version + create commit/tag
git push && git push --tagsLicense
MIT © Shien Inc.
Part of mdgen.
Available Tools
5 toolscreate_documentCreate documentA
Create a new mdgen document. Returns the created document id.
Inputs: markdown (required), mode, title.
delete_documentDelete documentB
Delete a document by id.
Inputs: id (required).
list_documentsList documentsA
List the current user's saved mdgen documents (id, title, mode, updatedAt).
Inputs: no named parameters.
read_documentRead documentA
Get the full Markdown and metadata of a document by id.
Inputs: id (required).
update_documentUpdate documentA
Update a document by id. Only the provided fields change; others are preserved.
Inputs: id (required), mode, title, markdown.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct operation (list, read, create, update, delete) on documents, with no overlap. An agent can clearly select the appropriate tool based on the desired action.
All tool names follow a consistent verb_noun pattern with snake_case (e.g., list_documents, create_document). The naming is predictable and uniform.
With exactly 5 tools, the set is well-scoped for a document management service, covering the essential operations without unnecessary bloat.
The tool set provides full CRUD lifecycle coverage for documents: list, read, create, update, and delete. No obvious gaps exist for the stated domain.
Maintenance
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server that gives Claude Desktop and other desktop MCP clients filesystem powers—read, write, edit, and manage files like AI coding assistants.1775 npm9MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that allows you to connect to Google Docs through Claude, enabling listing, reading, creating, updating, searching, and deleting documents.48MIT
- AlicenseBqualityCmaintenanceA local MCP server for Claude Desktop with persistent task management, file operations, document generation, and PDF indexing.151MIT
- FlicenseNot gradedqualityDmaintenanceMCP server enabling Claude Desktop to answer questions from local Word and PDF documents by searching a vector index built from their contents.-