AA

axiommath/axle-mcp-server

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

37 stars 2 forks 质量 76 趋势 20MIT

为AI代理与我们的精益基础设施交互的MCP服务器

概览

Axiom 精益引擎的模型上下文协议服务器——向人工智能代理展示精益验证和操作工具。 1. 创建一个免费的API密钥:https://axle.axiommath.ai/app/console. 2.连接您的客户端: 1. 打开自定义→连接器→ →。2. 名称:Axle。远程MCP服务器URL:https://mcp.axiommath.ai/mcp. 点击。3. 再次点击以接受默认客户端设置。4. 点击并粘贴你的API密钥到登录页面。5. 在聊天中,打开菜单→并开机。 需要付费套餐和开发者模式()。 1. 打开 ChatGPT 插件 →。2. 名称:Axle。MCP 服务器网址:https://mcp.axiommath.ai/mcp. 认证:。3. 创建并粘贴你的 API 密钥到登录页面。4. 在聊天中,从→菜单添加 Axle。 然后运行 /mcp,把你的 API 密钥粘贴到打开的页面上。

概述(AI 翻译)

模型上下文协议 Axiom精益引擎服务器——暴露精益 为人工智能代理提供验证和操作工具。

安装

  1. 创建一个免费的API密钥:https://axle.axiommath.ai/app/console.
  2. 连接你的客户:

Claude(网页、桌面、移动)

  1. 打开自定义→连接器→ 添加 → 添加自定义连接器。
  2. 名称:Axle。远程MCP服务器URL:https://mcp.axiommath.ai/mcp。点击添加。
  3. 再次点击添加以接受默认客户端设置。
  4. 点击连接,并将你的API密钥粘贴到登录页面。
  5. 在聊天中,打开**+菜单→连接器并打开Axle**。

ChatGPT

需要付费套餐和开发者模式(安全设置→登录)。

  1. 打开 ChatGPT 插件→ +。
  2. 名称:Axle。MCP服务器URL:https://mcp.axiommath.ai/mcp。认证:OAuth。
  3. 创建并粘贴你的 API 密钥到登录页面。
  4. 在聊天中,从**+** →开发者模式菜单添加Axle。

克劳德·科德

然后运行/mcp,把你的API密钥粘贴到打开的页面上。要跳过 浏览器,直接传递密钥:

其他MCP客户端(Cursor、Windsurf、VS Code、Cline等)

本页由 AI 翻译,技术细节请以原文为准。

README

AXLE MCP Server

A Model Context Protocol server for Axiom Lean Engine — exposes Lean verification and manipulation tools to AI agents.

Installation

  1. Create a free API key: https://axle.axiommath.ai/app/console.
  2. Connect your client:

Claude (web, desktop, mobile)

  1. Open Customize → Connectors → Add → Add custom connector.
  2. Name: Axle. Remote MCP server URL: https://mcp.axiommath.ai/mcp. Click Add.
  3. Click Add again to accept the default client settings.
  4. Click Connect and paste your API key on the sign-in page.
  5. In a chat, open the + menu → Connectors and switch Axle on.

ChatGPT

Needs a paid plan and Developer mode (Settings → Security and login).

  1. Open ChatGPT Plugins → +.
  2. Name: Axle. MCP server URL: https://mcp.axiommath.ai/mcp. Authentication: OAuth.
  3. Create it and paste your API key on the sign-in page.
  4. 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.
在 GitHub 查看完整 README

安装

uvx --from axiom-axle-mcp axle-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "axle": { "type": "http", "url": "https://mcp.axiommath.ai/mcp", "headers": { "Authorization": "Bearer your_api_key_here" } } } }