Micropage

السجل الرسمي أخرى

Create, edit and publish micropage.sh landing pages and blog posts from markup.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http micropage 'https://mcp.micropage.sh/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "micropage": {
            "type": "http",
            "url": "https://mcp.micropage.sh/mcp"
        }
    }
}
NPM package @micropage-sh/mcp
Claude Code
claude mcp add micropage -e 'MICROPAGE_DEPLOY_TOKEN=<your micropage_deploy_token>' -e 'MICROPAGE_DEPLOY_PROJECT=<MICROPAGE_DEPLOY_PROJECT>' -e 'MICROPAGE_MCP_ALLOW_SEND=false' -e 'MICROPAGE_MCP_ALLOW_DELETE=false' -e 'MICROPAGE_MCP_SUBMISSIONS=false' -e 'MICROPAGE_CONFIG_DIR=<MICROPAGE_CONFIG_DIR>' -- npx -y @micropage-sh/mcp@0.1.13
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "micropage": {
            "command": "npx",
            "args": [
                "-y",
                "@micropage-sh/mcp@0.1.13"
            ],
            "env": {
                "MICROPAGE_DEPLOY_TOKEN": "<your micropage_deploy_token>",
                "MICROPAGE_DEPLOY_PROJECT": "<MICROPAGE_DEPLOY_PROJECT>",
                "MICROPAGE_MCP_ALLOW_SEND": "false",
                "MICROPAGE_MCP_ALLOW_DELETE": "false",
                "MICROPAGE_MCP_SUBMISSIONS": "false",
                "MICROPAGE_CONFIG_DIR": "<MICROPAGE_CONFIG_DIR>"
            }
        }
    }
}

متغيرات البيئة

  • MICROPAGE_DEPLOY_TOKEN سري Deploy token for headless use (CI). Set together with MICROPAGE_DEPLOY_PROJECT. Without both, the server uses the session from `micropage login`.
  • MICROPAGE_DEPLOY_PROJECT UUID of the project the deploy token belongs to. Required when MICROPAGE_DEPLOY_TOKEN is set.
  • MICROPAGE_MCP_ALLOW_SEND Let publish_post email the newsletter subscriber list.
  • MICROPAGE_MCP_ALLOW_DELETE Register the delete_project tool.
  • MICROPAGE_MCP_SUBMISSIONS Register the form submission tools, which read visitor-entered personal data.
  • MICROPAGE_CONFIG_DIR Directory holding the CLI session (config.json). Defaults to ~/.micropage.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. @micropage-sh/mcp
  2. Install
  3. Hosted server
  4. Development
  5. License

@micropage-sh/mcp

MCP server for micropage.sh. It lets an AI assistant (Claude Code, Claude Desktop, Cursor, VS Code) create, edit and publish micropages and posts from markup.

**Documentation: https://docs.micropage.sh/docs/mcp/overview/**

Install

The server needs Node.js 20 or later and a Pro or Pro+ account. It uses the session from the micropage CLI:

npm install -g @micropage-sh/cli
micropage login
claude mcp add micropage -- npx -y @micropage-sh/mcp

For other clients, run npx -y @micropage-sh/mcp over stdio:

{
  "mcpServers": {
    "micropage": {
      "command": "npx",
      "args": ["-y", "@micropage-sh/mcp"]
    }
  }
}

Emailing subscribers, deleting projects and reading form submissions are off by default. Turn them on with MICROPAGE_MCP_ALLOW_SEND=1, MICROPAGE_MCP_ALLOW_DELETE=1 and MICROPAGE_MCP_SUBMISSIONS=1. For headless use, set MICROPAGE_DEPLOY_TOKEN and MICROPAGE_DEPLOY_PROJECT instead of logging in. See Install and Safety.

Hosted server

micropage also hosts this server at https://mcp.micropage.sh/mcp. Clients connect over streamable HTTP and sign in with OAuth through the micropage account, so nothing is installed locally. Clients register themselves on first connect; in claude.ai just add a custom connector with the URL. Claude Code:

claude mcp add --transport http micropage https://mcp.micropage.sh/mcp

The setup for claude.ai and Claude Desktop, the per-connection permissions, and the deploy-token headers for headless use are in Hosted server.

Development

See DEVELOPMENT.md for working on the server and PUBLISHING.md for releases.

License

MIT

الأسئلة الشائعة

ما هو Micropage؟

Create, edit and publish micropage.sh landing pages and blog posts from markup.

كيف أثبّت Micropage؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http micropage 'https://mcp.micropage.sh/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Micropage إلى مفتاح API؟

نعم. يتطلب MICROPAGE_DEPLOY_TOKEN، وتضبطها في إعداداته.

هل Micropage مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون Micropage؟

ينشره micropage-sh. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.