mdgen-mcp
Click on "Install 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-mcplist 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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Shien-Inc/mdgen-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server