{"_id":"mdpage-mcp","name":"mdpage-mcp","dist-tags":{"latest":"1.1.0"},"versions":{"1.1.0":{"name":"mdpage-mcp","version":"1.1.0","description":"MCP server for md.page — give AI agents the ability to publish markdown as beautiful shareable web pages","type":"module","bin":{"mdpage-mcp":"build/index.js"},"scripts":{"build":"tsc && chmod 755 build/index.js","dev":"tsc --watch","prepublishOnly":"npm run build"},"keywords":["mcp","model-context-protocol","markdown","mdpage","ai-agents","llm","tools"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/maypaz/md.page.git","directory":"mcp"},"engines":{"node":">=18"},"homepage":"https://md.page","dependencies":{"@modelcontextprotocol/ext-apps":"^1.6.0","@modelcontextprotocol/sdk":"^1.12.0","zod":"^3.25.0"},"devDependencies":{"@types/node":"^22.0.0","typescript":"^5.8.0"},"_id":"mdpage-mcp@1.1.0","gitHead":"96ac2a067d8bea9bf01f320711a6a10b5f5be8b0","bugs":{"url":"https://github.com/maypaz/md.page/issues"},"_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-HNYAyNe5r5ANLch6gFT9HO909DAxUPFI3AAeCECMURkcQ3CUqbqsSbZT+Ko4mgHaX7qUkQUP7M6p3UznLP6qXw==","shasum":"be7695e1b1e31477fc2a3b5a92286b064b563c7b","tarball":"https://registry.npmjs.org/mdpage-mcp/-/mdpage-mcp-1.1.0.tgz","fileCount":3,"unpackedSize":8426,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCoGSk1l3p7XPBcEsgrRk6h80al9kYodij25vJGORDv3QIgPwTnNPimqNnR6IR2Jm15tajOfBNFN1vpK4s2hdeE0ko="}]},"_npmUser":{"name":"maypaz","email":"or.maypaz@gmail.com"},"directories":{},"maintainers":[{"name":"maypaz","email":"or.maypaz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mdpage-mcp_1.1.0_1776623687114_0.4109881828448987"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-19T18:34:47.113Z","1.1.0":"2026-04-19T18:34:47.268Z","modified":"2026-04-19T18:34:47.485Z"},"maintainers":[{"name":"maypaz","email":"or.maypaz@gmail.com"}],"description":"MCP server for md.page — give AI agents the ability to publish markdown as beautiful shareable web pages","homepage":"https://md.page","keywords":["mcp","model-context-protocol","markdown","mdpage","ai-agents","llm","tools"],"repository":{"type":"git","url":"git+https://github.com/maypaz/md.page.git","directory":"mcp"},"bugs":{"url":"https://github.com/maypaz/md.page/issues"},"license":"MIT","readme":"# mdpage-mcp\n\nMCP server for [md.page](https://md.page) — give AI agents the ability to publish markdown as beautiful, shareable web pages.\n\n## Quick Setup\n\nAdd to your MCP client config:\n\n### Cursor\n\nIn `.cursor/mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"mdpage\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mdpage-mcp\"]\n    }\n  }\n}\n```\n\n### Claude Desktop\n\nIn `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"mdpage\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mdpage-mcp\"]\n    }\n  }\n}\n```\n\n### VS Code (GitHub Copilot)\n\nIn `.vscode/mcp.json`:\n\n```json\n{\n  \"servers\": {\n    \"mdpage\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mdpage-mcp\"]\n    }\n  }\n}\n```\n\n## Tools\n\n### `publish_markdown`\n\nPublish markdown as a shareable web page. Returns a short URL that expires in 24 hours.\n\n**Parameters:**\n\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| `markdown` | string | Yes | The markdown content to publish |\n\n**Example response:**\n\n```\nPublished successfully!\n\nURL: https://md.page/a8Xk2m\nExpires: 2026-03-28T12:00:00.000Z\n```\n\n## Self-Hosted Instances\n\nTo use with a self-hosted md.page instance, set the `MDPAGE_URL` environment variable:\n\n```json\n{\n  \"mcpServers\": {\n    \"mdpage\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mdpage-mcp\"],\n      \"env\": {\n        \"MDPAGE_URL\": \"https://my-instance.example.com\"\n      }\n    }\n  }\n}\n```\n\n## Development\n\n```bash\ncd mcp\nnpm install\nnpm run build\n```\n\nTest with the MCP Inspector or any MCP client:\n\n```bash\nnpx @modelcontextprotocol/inspector node build/index.js\n```\n\n## License\n\n[MIT](../LICENSE)\n","readmeFilename":"README.md","_rev":"1-07eec249caf0f1f4564136c8f0ab5013"}