
Arm的MCP服务器
概览
一个MCP服务器,为AI助手提供用于Arm架构开发、迁移和优化的工具和知识。 如果你的目标是尽快将应用从 x86 迁移到 Arm,可以从这里开始: 使用 Arm MCP 服务器自动化 x86 到 Arm 应用迁移 该MCP服务器为AI助手配备了用于Arm开发的专用工具: - : 跨Arm文档、学习资源、内在文件和软件兼容性信息进行语义搜索- :使用迁移易度扫描代码库以确认Arm兼容性(支持C++、Python、Go、JavaScript、Java)- : 使用集成的Skopeo和校验镜像工具检查Docker镜像架构支持。
概述(AI 翻译)
一个MCP服务器,为AI助手提供用于Arm架构开发、迁移和优化的工具和知识。
使用 Arm MCP 服务器
如果你的目标是尽快将应用从 x86 迁移到 Arm,可以从这里开始:
使用 Arm MCP 服务器自动化 x86 到 Arm 应用迁移
特色
该MCP服务器为AI助手配备了用于Arm开发的专用工具:
- 知识库搜索:跨Arm文档、学习资源、内在材料和软件兼容性信息的语义搜索
- 代码迁移分析:使用迁移易度扫描代码库以确认与 Arm 兼容(支持 C++、Python、Go、JavaScript、Java)
- 容器架构检查:使用集成的 Skopeo 和 检查镜像工具检查 Docker 镜像架构支持。
- 汇编性能分析:使用 LLVM-MCA 分析汇编代码性能
预建图像
如果你更愿意使用预构建的多架构镜像,官方镜像可以在Docker Hub中找到:armlimited/arm-mcp:latest
先修条件
- 支持 Buildx 的 Docker
- 一个兼容MCP的AI助手客户端(例如:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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:
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:
{
"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):
{
"servers": {
"arm-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"--pull=always",
"-v", "/path/to/your/workspace:/workspace",
安装
docker run --rm -i --pull=always -v /path/to/your/workspace:/workspace armlimited/arm-mcp配置
{
"mcpServers": {
"arm-mcp": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"--pull=always",
"-v", "/path/to/your/workspace:/workspace",
"armlimited/arm-mcp"
]
}
}
}