@emplugins/mcp-emdash-drafts
v0.2.1
Published
MCP server: ingest Markdown drafts into EmDash via EmPost plugin
Maintainers
Readme
@emplugins/mcp-emdash-drafts
Stdio MCP server for Model Context Protocol clients (Cursor, Goose, etc.): validate Markdown locally, then sign and POST drafts to an EmDash site running @emplugins/emdash-plugin-md-draft.
Use with EmDash 0.9.x+ and @emplugins/emdash-plugin-md-draft peer emdash >=0.9.0 on the site.
Tools
| Tool | Description |
|------|-------------|
| validate_markdown | Parse frontmatter + body locally (no network write). |
| ingest_markdown | POST a full markdown string to the ingest URL. |
| ingest_path | Read a file from disk, then same as ingest_markdown. |
Environment
| Variable | Required | Description |
|----------|----------|-------------|
| EMDASH_INGEST_URL | Yes | Full URL to ingest, e.g. https://example.com/_emdash/api/plugins/empost-md-draft/ingest |
| EMDASH_HMAC_SECRET | Yes | Same secret configured in EmDash plugin admin |
| EMDASH_KEY_ID | No | Defaults to default; must match plugin Expected key id |
Run (CLI / npx)
npx -y @emplugins/mcp-emdash-draftsThe process speaks MCP on stdio — configure your client to launch this command with the env vars above.
