vscode-cube-mcp

v0.4.4.2
vscode-cube-mcp Checked 1 hour ago Published 1 month ago

MCP server 封装 STM32CubeMX 命令行,通过 MCP 工具配置引脚/外设并生成 HAL 工程

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add vscode-cube-mcp -- uvx vscode-cube-mcp==0.4.4.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "vscode-cube-mcp": {
      "args": [
        "vscode-cube-mcp==0.4.4.2"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "vscode-cube-mcp": {
      "args": [
        "vscode-cube-mcp==0.4.4.2"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "vscode-cube-mcp": {
      "args": [
        "vscode-cube-mcp==0.4.4.2"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.vscode-cube-mcp]
command = "uvx"
args = ["vscode-cube-mcp==0.4.4.2"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: cubemx_help, cubemx_script, cubemx_load, cubemx_configure, cubemx_generate, cubemx_export_pinout, cubemx_new_project, cubemx_probe, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json