MCP Server for AI agents to interact with our Lean infrastructure
Обзор
A Model Context Protocol server for Axiom Lean Engine — exposes Lean verification and manipulation tools to AI agents. 1. Create a free API key: https://axle.axiommath.ai/app/console. 2. Connect your client: 1. Open Customize → Connectors → → . 2. Name: Axle. Remote MCP server URL: https://mcp.axiommath.ai/mcp. Click . 3. Click again to accept the default client settings. 4. Click and paste your API key on the sign-in page. 5. In a chat, open the menu → and switch on. Needs a paid plan and Developer mode (). 1. Open ChatGPT Plugins → . 2. Name: Axle. MCP server URL: https://mcp.axiommath.ai/mcp. Authentication: . 3. Create it and paste your API key on the sign-in page. 4. In a chat, add Axle from the → menu. Then run /mcp and paste your API key on the page that opens.
README
AXLE MCP Server
A Model Context Protocol server for Axiom Lean Engine — exposes Lean verification and manipulation tools to AI agents.
Installation
- Create a free API key: https://axle.axiommath.ai/app/console.
- Connect your client:
Claude (web, desktop, mobile)
- Open Customize → Connectors → Add → Add custom connector.
- Name:
Axle. Remote MCP server URL:https://mcp.axiommath.ai/mcp. Click Add. - Click Add again to accept the default client settings.
- Click Connect and paste your API key on the sign-in page.
- In a chat, open the + menu → Connectors and switch Axle on.
ChatGPT
Needs a paid plan and Developer mode (Settings → Security and login).
- Open ChatGPT Plugins → +.
- Name:
Axle. MCP server URL:https://mcp.axiommath.ai/mcp. Authentication: OAuth. - Create it and paste your API key on the sign-in page.
- In a chat, add Axle from the + → Developer mode menu.
Claude Code
claude mcp add --transport http axle https://mcp.axiommath.ai/mcp
Then run /mcp and paste your API key on the page that opens. To skip the
browser, pass the key directly:
claude mcp add --transport http axle https://mcp.axiommath.ai/mcp \
--header "Authorization: Bearer your_api_key_here"
Other MCP clients (Cursor, Windsurf, VS Code, Cline, …)
{
"mcpServers": {
"axle": {
"type": "http",
"url": "https://mcp.axiommath.ai/mcp",
"headers": {
"Authorization": "Bearer your_api_key_here"
}
}
}
}
To run the server locally instead (enables file_uri, which reads Lean files
from disk):
{
"mcpServers": {
"axle": {
"command": "uvx",
"args": ["--from", "axiom-axle-mcp", "axle-mcp-server"],
"env": {
"AXLE_API_KEY": "your_api_key_here"
}
}
}
}
Tools
Most tools are generated from the AXLE API’s /v1/endpoints — verify_proof,
check, merge, sorry2lemma and friends. Alongside them the server provides:
| Tool | Purpose |
|---|---|
read_docs |
Read the AXLE documentation. Call with no arguments for the page index, then page="verify_proof" for one page. |
list_environments |
List the available Lean environments. |
share_url |
Turn a prior call’s request_id into a permanent shareable webapp URL. |
read_share_url |
Read back the inputs and result behind a share URL. |
Установка
uvx --from axiom-axle-mcp axle-mcp-serverКонфигурация
{
"mcpServers": {
"axle": {
"type": "http",
"url": "https://mcp.axiommath.ai/mcp",
"headers": {
"Authorization": "Bearer your_api_key_here"
}
}
}
}