Arm MCP Server

io.github.arm由 GitHub 账号 arm 发布v2.4.0更新于 Oct 24, 2026

Official Arm MCP server for code migration, optimization, and Arm architecture guidance

概览

AI 生成的概览

官方 Arm MCP 服务器,为助手提供分析代码 Arm 兼容性、检查容器架构和检索 Arm 文档的工具。

可以做什么
它提供对 Arm 文档、学习资源、内建函数和软件兼容性信息的语义搜索。它使用 migrate-ease 扫描代码库的 Arm 兼容性,支持 C++、Python、Go、JavaScript 和 Java。它通过集成的 Skopeo 和 check-image 工具检查 Docker 镜像的架构支持,并使用 LLVM-MCA 分析汇编性能。
适用场景
适用于将应用从 x86 迁移到 Arm、检查容器镜像是否支持 Arm,或审查汇编性能的场景。适合希望在 AI 助手中获得 Arm 架构指导和兼容性分析的开发者。
运行要求
通过 Docker 以 stdio 本地进程运行,需要支持 Buildx 的 Docker,使用镜像 armlimited/arm-mcp。需要兼容 MCP 的客户端,例如 Claude Code、GitHub Copilot、Kiro CLI、Codex CLI 或 Gemini CLI。必须将工作区目录挂载到容器中。未声明任何账户、API 密钥或环境变量。
安装前请注意
容器可访问挂载的工作区目录,因此能读取项目文件。它可能在工作区写入 mcp-traffic.jsonl 和 error_logging.yaml,记录工具输入、调用原因、知识库搜索结果和错误;这些日志可能包含项目信息,分享前请先检查。迁移扫描可能超时,可能需要延长客户端超时时间。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Arm MCP Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[OpenSSF Scorecard] [SLSA Build Level 3]

Arm MCP Server

An MCP server providing AI assistants with tools and knowledge for Arm architecture development, migration, and optimization.

Using the Arm MCP Server

If your goal is to migrate an application from x86 to Arm as quickly as possible, start here:

Automate x86-to-Arm application migration using Arm MCP Server

Features

This MCP server equips AI assistants with specialized tools for Arm development:

  • Knowledge Base Search: Keyword and semantic search across Arm documentation, learning resources, intrinsics, and software compatibility information, with technical-name aliases
  • Code Migration Analysis: Scan codebases for Arm compatibility using migrate-ease (supports C++, Python, Go, JavaScript, Java)
  • Container Architecture Inspection: Check Docker image architecture support using integrated Skopeo and check-image tools.
  • Assembly Performance Analysis: Analyze assembly code performance using LLVM-MCA

Pre-Built Image

If you would prefer to use a pre-built, multi-arch image, the official image can be found in Docker Hub here: armlimited/arm-mcp:latest

Prerequisites

  • Docker with Buildx support
  • An MCP-compatible AI assistant client (e.g. GitHub Copilot, Kiro CLI, Codex CLI, Claude Code, etc)

Quick Start

1. Build the Docker Image

From the root of this repository:

bash
docker buildx build -f mcp-local/Dockerfile -t armlimited/arm-mcp . --load

This builds for the Docker host's native architecture. The release workflow is responsible for explicit multi-architecture builds.

For local development builds, see the Quick Local Development Builds section in CONTRIBUTING.md.

2. Configure Your MCP Client

Choose the configuration that matches your MCP client:

Claude Code

Add to .mcp.json in your project:

json
{  "mcpServers": {    "arm-mcp": {      "command": "docker",      "args": [        "run",        "--rm",        "-i",        "--pull=always",        "-v", "/path/to/your/workspace:/workspace",        "armlimited/arm-mcp"      ]    }  }}
GitHub Copilot (VS Code)

Add to .vscode/mcp.json in your project, or globally at ~/Library/Application Support/Code/User/mcp.json (macOS):

json
{  "servers": {    "arm-mcp": {      "type": "stdio",      "command": "docker",      "args": [        "run",        "--rm",        "-i",        "--pull=always",        "-v", "/path/to/your/workspace:/workspace",        "armlimited/arm-mcp"      ]    }  }}

The easiest way to open this file in VS Code for editing is command+shift+p and search for

MCP: Open User Configuration

AWS Kiro CLI

Add to ~/.kiro/settings/mcp.json:

json
{  "mcpServers": {    "arm-mcp": {      "command": "docker",      "args": [        "run",        "--rm",        "-i",        "--pull=always",        "-v", "/path/to/your/workspace:/workspace",        "armlimited/arm-mcp"      ],      "timeout": 60000    }  }}
Gemini CLI

It is recommended to use a project-local configuration file to ensure the relevant workspace is mounted.

Add to .gemini/settings.json in your project root:

json
{  "mcpServers": {    "arm-mcp": {      "command": "docker",      "args": [        "run",        "--rm",        "-i",        "--pull=always",        "-v", "/path/to/your/workspace:/workspace",        "armlimited/arm-mcp"      ]    }  }}
MCP Clients using TOML format (e.g. Codex CLI)
toml
[mcp_servers.arm-mcp]command = "docker"args = [  "run",  "--rm",  "-i",  "--pull=always",  "-v", "/path/to/your/workspace:/workspace",  "armlimited/arm-mcp"]

Note: Replace /path/to/your/workspace with the actual path to your project directory that you want the MCP server to access.

3. Restart Your MCP Client

After updating the configuration, restart your MCP client to load the Arm MCP server.

Logging

Depending on usage, the server may write two log files under /workspace. With the configuration examples above, these files appear in the project directory on your computer:

  • mcp-traffic.jsonl records when tools are used, the inputs provided, and the reason for each tool call. It also records results from knowledge base searches.
  • error_logging.yaml records details about errors encountered by the server. This information can help with troubleshooting.

These logs may contain information from your project and tool requests. Review their contents before sharing them.

Development and contributing

See CONTRIBUTING.md for repository structure, integration testing, reproducible build inputs, runtime-egress validation, dependency updates, and release workflows.

Troubleshooting

Accessing the Container Shell

To debug or explore the container environment:

bash
docker run --rm -it --entrypoint /bin/bash armlimited/arm-mcp

Common Issues

  • Timeout errors during migration scans: Increase the timeout value in your MCP client configuration (e.g., "timeout": 120000 for 2 minutes)
  • Empty workspace: Ensure your volume mount path is correct and the directory exists
  • Architecture mismatches: Confirm that the local image matches the Docker host's native architecture; use the release workflow for explicit cross-platform builds.

Suspected vulnerabilities must not be reported in public issues. See the Arm MCP security policy and report them via Arm PSIRT.

License

Copyright © 2026, Arm Limited and Contributors. All rights reserved.

Licensed under the Apache License, Version 2.0. See LICENSE for details.

来源:README.md,提交 a770195

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v2.4.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分