MCP setup

Connect agents to a paid remote MCP endpoint

Use ZeroLang Agent Compiler MCP as a hosted MCP server with bearer-token access, structured tool outputs, and audit receipts.

Endpoint

https://zerolangcompiler.clauxel.com/mcp

Authentication

Production calls require a paid bearer token. The checkout and token-claim endpoints return machine-readable instructions for agents.

Available tools

  • compile_zerolang_program returns structured JSON with verdict, reason, receipt_id, usage_units, and next_action.
  • run_zerolang_fixtures returns structured JSON with verdict, reason, receipt_id, usage_units, and next_action.
  • explain_compile_error returns structured JSON with verdict, reason, receipt_id, usage_units, and next_action.
  • export_agent_plan_json returns structured JSON with verdict, reason, receipt_id, usage_units, and next_action.

Example call

{"jsonrpc":"2.0","id":"call-1","method":"tools/call","params":{"name":"compile_zerolang_program","arguments":{"sample":"ZeroLang Agent Compiler MCP sample with public-safe workflow context, owner, policy, deadline, risk notes, and reviewer evidence."}}}

Setup pages