Meta-MCP Server

Control MCPHero from any MCP client using the Meta-MCP server

Overview

The Meta-MCP server is an MCP-native interface to the MCPHero wizard pipeline. It exposes the same capabilities as mcpheroctl — creating servers, running the wizard, managing tools and env vars, deploying — but accessible from any MCP client such as Claude Desktop or Cursor. No terminal required.


Server URL

https://api.mcphero.app/mcp/meta/mcp

Authentication

The Meta-MCP server uses OAuth 2.1 with JWT tokens. Modern MCP clients (Claude Desktop, Cursor, etc.) handle the OAuth flow automatically when you first connect — you will be prompted to log in via your browser.

You do not need to add an Authorization header manually. Your MCP client handles OAuth transparently via the standard MCP auth protocol.


Available Tools

ToolDescription
create_sessionStart a new wizard session; returns a server ID
send_conversation_messageSend a requirement message; iterate until is_ready: true
get_conversation_statusCheck if requirements gathering is complete
start_wizardTransition session to tool suggestion phase
list_toolsShow AI-suggested tools for the server
refine_toolsRequest changes to suggested tools
submit_toolsConfirm the tool list
suggest_env_varsGenerate environment variable suggestions
list_env_varsShow suggested environment variables
refine_env_varsRequest changes to suggested env vars
submit_env_varsConfirm the env var list
set_authGenerate a bearer token for the server
generate_codeTrigger async code generation
deployDeploy generated code to the MCPHero runtime
get_server_detailsFetch status and metadata for a server
get_wizard_stateShow the current wizard pipeline state

Setup

Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcphero": {
      "url": "https://api.mcphero.app/mcp/meta/mcp"
    }
  }
}

Claude Desktop will initiate the OAuth flow on first use.

Cursor

In Cursor settings under MCP Servers, add:

{
  "mcphero": {
    "url": "https://api.mcphero.app/mcp/meta/mcp"
  }
}

Any MCP Client

Point your client at https://api.mcphero.app/mcp/meta/mcp. Any client that supports the MCP authentication spec will handle OAuth automatically.


Wizard Flow via MCP

The wizard pipeline works the same as with the CLI:

  1. create_session — get a server_id
  2. send_conversation_message — describe your server; repeat until is_ready: true
  3. start_wizard — move to tool suggestion
  4. list_toolsrefine_tools (optional) → submit_tools
  5. suggest_env_varslist_env_varsrefine_env_vars (optional) → submit_env_vars
  6. set_auth — generate a bearer token
  7. generate_code — trigger async code generation
  8. deploy — deploy to runtime

Comparison with CLI

Both the CLI (mcpheroctl) and the Meta-MCP server talk to the same backend service (WizardStepsService). The difference is transport:

CLIMeta-MCP
TransportREST API over HTTPSMCP protocol
Auth~/.config/mcpheroctl/config.jsonOAuth 2.1 via MCP client
Use caseScripting, CI/CDInteractive use inside an AI client
OutputTerminal / --jsonTool call results

Further Reading

On this page