NxCreateDocs

MCP Server

Connect an AI agent to NxCreator over MCP to authenticate, create bots, read and edit code, deploy, restart, and read logs.

The NxCreator MCP server lets an AI agent (Claude Desktop, Cursor, Claude Code, or your own client) authenticate with your API key and operate directly on your bots — create them, read and edit their code, deploy, restart, and pull logs. Edits apply immediately and restart the bot; there is no review step.

Endpoint

One HTTP endpoint, JSON-RPC 2.0 over MCP Streamable HTTP:

https://nxcreate.com/api/mcp/project

Authentication

Every request must send your personal API key as a bearer token:

Authorization: Bearer <your API key>

Find your key in the dashboard under Settings → Account → API Key. It is created on first visit and stays stable until you regenerate it.

Your API key grants full access to your bots and account. Treat it like a password — never commit it or expose it in client-side code.

Client Setup

Add the server to your MCP client config. For Claude Desktop / Claude Code / Cursor:

{
  "mcpServers": {
    "nxcreate": {
      "url": "https://nxcreate.com/api/mcp/project",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

For a manual JSON-RPC call:

curl -X POST https://nxcreate.com/api/mcp/project \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
       "params":{"name":"list_bots","arguments":{}}}'

Available Tools

Bots

ToolDescription
get_dev_guideReturns the NxCreator bot development guide. Call this first — it teaches the agent the runtime rules so generated code is compatible.
whoamiVerify the API key; returns account email, uid, plan, and bot count.
list_botsList the bots on your account with id, token status, framework, plan, and last update.
create_botCreate a bot. Requires a @BotFather token; initial code is optional.
get_bot_codeRead the full bot source, split into named sections.
update_sectionReplace one section (by uuid) or the whole file. Syntax-checked, applied immediately, bot restarted.
update_bot_codeReplace all of a bot's code with new source. Syntax-checked, applied immediately, bot restarted.
restart_botRestart a running bot.
set_bot_tokenSet or replace a bot's @BotFather token.
deploy_botDeploy / activate a bot (set webhook + start). Can set the token first.
get_bot_logsFetch recent runtime logs, newest first (limit 1–200).

Mini Apps

Mini Apps are single hosted .html pages, not JavaScript modules — provide a complete HTML document.

ToolDescription
list_mini_appsList your Mini Apps with id, name, hosted URL, and status.
create_mini_appCreate a Mini App. Optionally pass the full HTML to publish it on creation.
get_mini_app_htmlFetch the current published HTML of a Mini App.
update_mini_app_htmlReplace and publish a Mini App's HTML. Provide a complete HTML document.
delete_mini_appDelete a Mini App.

Standard MCP methods initialize, tools/list, and ping are also supported.

Recommended Workflow

StepCall
1. Learn the runtimeget_dev_guide
2. Confirm the keywhoami
3. Find or create a botlist_bots` → `create_bot
4. Read current codeget_bot_code
5. Make the changeupdate_section` or `update_bot_code
6. Verifyget_bot_logs
Edits apply immediately with no review step, so verify each change: new code is syntax-checked before it is written (a syntax error is rejected and the running bot is left untouched), and after a successful edit the bot restarts — call get_bot_logs to confirm the runtime reloaded without errors. Use a section uuid with update_section for a targeted change, or omit it to replace the whole file.
Last updated August 11, 2026
Was this page helpful?