Skip to content

Commit 3854931

Browse files
Introduced clearer mental model and progression
1 parent 5481de8 commit 3854931

5 files changed

Lines changed: 50 additions & 28 deletions

File tree

content/learning-paths/servers-and-cloud-computing/arm-mcp-server/1-overview.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,42 @@ layout: learningpathall
1010

1111
The Arm MCP Server is a tool that enables AI-powered developer tools to become Arm cloud migration and optimization experts. It implements the Model Context Protocol (MCP), an open standard that allows AI assistants to access external tools and data sources.
1212

13+
Think of the Arm MCP Server as a bridge between AI coding assistants and Arm-specific migration and optimization tools. It allows AI agents to use real, structured capabilities instead of guessing.
14+
1315
By connecting your AI coding assistant to the Arm MCP Server, you gain access to Arm-specific knowledge, container image inspection tools, and code analysis capabilities that streamline the process of migrating applications from x86 to Arm.
1416

1517
## How to interact with the Arm MCP Server
1618

17-
There are multiple ways to interact with the Arm MCP Server, depending on your development environment and workflow:
19+
The Arm MCP Server supports different interaction styles depending on the complexity of the migration task, from quick checks to fully automated workflows:
20+
21+
- Direct AI chat: quick, exploratory checks
22+
- Prompt files: repeatable, structured workflows
23+
- Agentic workflows: fully autonomous multi-step migrations
1824

19-
### 1. Direct AI Chat
25+
26+
## Direct AI chat
2027

2128
You can ask your AI assistant natural language questions, and it will automatically use the MCP tools when appropriate. For example:
2229

2330
```text
2431
Check if the nginx:latest Docker image supports Arm architecture
2532
```
2633

27-
### 2. Prompt Files
34+
## Prompt files
2835

2936
Many AI coding tools support prompt files that provide structured instructions. These files can reference MCP tools and guide the AI through complex workflows like full codebase migrations.
3037

31-
### 3. Agentic Workflows
38+
## Agentic workflows
3239

3340
Tools like GitHub Copilot Agent Mode, Claude Code, Kiro, and OpenAI Codex support autonomous agent workflows where the AI can execute multi-step migration tasks with minimal intervention. These fully agentic workflows can be combined with prompt files and direct chat to create an extremely powerful development system.
3441

35-
## Available Arm MCP Server Tools
42+
## Available Arm MCP Server tools
43+
44+
The Arm MCP Server provides several specialized tools for migration and optimization, and these are detailed below.
3645

37-
The Arm MCP Server provides several specialized tools for migration and optimization:
46+
{{% notice Note %}}
47+
You don't need all of these tools immediately. You'll start by using image inspection and knowledge lookup tools, and encounter the others as workflows become more advanced.
48+
{{% /notice %}}
3849

3950
### knowledge_base_search
4051

@@ -78,9 +89,9 @@ To use the Arm MCP Server with an AI coding assistant, you need to configure the
7889

7990
The required configuration steps vary by AI coding assistant. Refer to the installation guides below for step-by-step instructions on connecting the following AI coding assistants to the Arm MCP server:
8091

81-
[GitHub Copilot](/install-guides/github-copilot/)
82-
[Gemini CLI](/install-guides/gemini/)
83-
[Kiro CLI](/install-guides/kiro-cli/)
92+
- [GitHub Copilot](/install-guides/github-copilot/)
93+
- [Gemini CLI](/install-guides/gemini/)
94+
- [Kiro CLI](/install-guides/kiro-cli/)
8495

8596
## What you've accomplished and what's next
8697

content/learning-paths/servers-and-cloud-computing/arm-mcp-server/2-docker-check.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ weight: 3
66
layout: learningpathall
77
---
88

9-
## Checking Base Images for Arm Compatibility
9+
## Checking base images for Arm compatibility
1010

1111
This section demonstrates just one example of using direct AI chat with the Arm MCP Server. You can use similar natural language prompts to check library compatibility, search for Arm documentation, or analyze code for migration issues.
1212

1313
A common first step when migrating a containerized application to Arm is verifying that the base container images support the arm64 architecture. The Arm MCP Server simplifies this process by allowing you to ask this question directly using a natural language prompt, without manually inspecting image manifests or registry metadata.
1414

15-
## Example: Legacy CentOS 6 Application
15+
Direct AI chat works best as a fast decision gate as it helps you rule out incompatible base images and configurations before investing time in deeper migration or automation work.
16+
17+
## Example: Legacy CentOS 6 application
1618

1719
Consider an application built on CentOS 6, a legacy Linux distribution that has reached end of life (EOL). This example represents a typical x86-optimized, compute-heavy benchmark application that you might encounter when migrating older workloads.
1820

@@ -75,7 +77,7 @@ RUN chmod +x start.sh
7577
CMD ["./start.sh"]
7678
```
7779

78-
## Using the Arm MCP Server to Check Compatibility
80+
## Using the Arm MCP Server to check compatibility
7981

8082
With the Arm MCP Server connected to your AI assistant, you can quickly verify base image compatibility using a simple natural language prompt:
8183

content/learning-paths/servers-and-cloud-computing/arm-mcp-server/3-simd-migration.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ weight: 4
66
layout: learningpathall
77
---
88

9-
## Migrating SIMD Code with AI Assistance
9+
## Migrating SIMD code with AI assistance
1010

11-
When migrating applications from x86 to Arm, you may encounter SIMD (Single Instruction, Multiple Data) code that is written using architecture-specific intrinsics. On x86 platforms, SIMD is commonly implemented with SSE, AVX, or AVX2 intrinsics, while Arm platforms use NEON and SVE intrinsics to provide similar vectorized capabilities. Updating this code manually can be time-consuming and challenging. By combining the Arm MCP Server with a well-defined prompt file, you can automate much of this work and guide an AI assistant through a structured, architecture-aware migration of your codebase.
11+
When migrating applications from x86 to Arm, you might encounter SIMD (Single Instruction, Multiple Data) code that is written using architecture-specific intrinsics. On x86 platforms, SIMD is commonly implemented with SSE, AVX, or AVX2 intrinsics, while Arm platforms use NEON and SVE intrinsics to provide similar vectorized capabilities. Updating this code manually can be time-consuming and challenging. By combining the Arm MCP Server with a well-defined prompt file, you can automate much of this work and guide an AI assistant through a structured, architecture-aware migration of your codebase.
1212

13-
## Sample x86 Code with AVX2 Intrinsics
13+
## Sample x86 code with AVX2 intrinsics
14+
15+
{{% notice Note %}}You don't need to understand every detail of this code to follow the migration workflow. It's included to represent the kind of architecture-specific SIMD logic commonly found in real-world applications. {{% /notice %}}
1416

1517
The following example shows a matrix multiplication implementation using x86 AVX2 intrinsics. This is representative of performance-critical code found in compute benchmarks and scientific workloads. Copy this code into a file named `matrix_operations.cpp`:
1618

@@ -170,7 +172,9 @@ int main() {
170172
}
171173
```
172174

173-
## The Arm Migration Prompt File
175+
Prompt files act as executable migration playbooks. They encode a repeatable process that the AI can follow reliably, rather than relying on one-off instructions or guesswork.
176+
177+
## The Arm migration prompt file
174178

175179
To automate migration, you can define a prompt file that instructs the AI assistant how to analyze and transform the project using the Arm MCP Server. Prompt files encode best practices, tool usage, and migration strategy, allowing the AI assistant to operate fully autonomously through complex multi-step workflows.
176180

@@ -203,7 +207,7 @@ Provide a summary of the changes you made and how they'll improve the project.
203207
```
204208
This prompt file encodes best practices, tool usage, and migration strategy, allowing the AI assistant to operate fully agentically.
205209

206-
## Running the Migration
210+
## Running the migration
207211

208212
With the prompt file in place and the Arm MCP Server connected, invoke the migration workflow from your AI assistant:
209213

content/learning-paths/servers-and-cloud-computing/arm-mcp-server/4-agentic-systems.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,21 @@ weight: 5
66
layout: learningpathall
77
---
88

9-
## Agentic AI Systems for Migration
9+
## Set up an agent workflow
1010

1111
Different AI coding tools provide different mechanisms for defining persistent instructions, such as prompt files or configuration documents. While the configuration details vary by tool, the goal remains the same: provide the AI with clear, structured instructions so it can use the Arm MCP Server effectively and carry out multi-step migration workflows autonomously.
1212

1313
This section shows how to set up Arm migration workflows in popular agentic AI systems. You'll see that the core migration logic stays consistent across platforms, but each tool has its own format for defining these instructions.
1414

15-
## Kiro Steering Documents
15+
{{% notice Note %}}
16+
The migration instructions below are the same workflow you used in the previous section. Each AI tool simply wraps those instructions in a different format.
17+
{{% /notice %}}
18+
19+
## Set up Kiro steering documents
1620

1721
[Kiro](https://kiro.dev/) uses "steering documents" - markdown files stored in `.kiro/steering/` that provide persistent context to the AI. You can configure steering documents with different inclusion modes to control when and how the instructions are applied.
1822

19-
### Create Arm Migration Steering Document
23+
### Create Arm migration steering document
2024

2125
To set up Arm migration in Kiro, create the following file at `.kiro/steering/arm-migration.md`:
2226

@@ -48,11 +52,11 @@ Provide a summary of the changes you made and how they'll improve the project.
4852

4953
Reference this steering document in chat with `#arm-migration`.
5054

51-
## OpenAI Codex Prompt Files
55+
## OpenAI Codex prompt files
5256

5357
[OpenAI Codex](https://openai.com/codex/) uses markdown prompt files stored in `~/.codex/prompts/` or `$CODEX_HOME/prompts/`. The filename determines the command name you'll use to invoke the prompt.
5458

55-
### Create Arm Migration Prompt
59+
### Create Arm migration prompt
5660

5761
Create the following file at `~/.codex/prompts/arm-migrate.md`:
5862

@@ -82,7 +86,7 @@ If you have good versions to update for the Dockerfile, requirements.txt, and ot
8286
Provide a summary of the changes you made and how they'll improve the project.
8387
```
8488

85-
### Running the Codex Prompt
89+
### Running the Codex prompt
8690

8791
Invoke the prompt with:
8892

content/learning-paths/servers-and-cloud-computing/arm-mcp-server/_index.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ title: Automate x86-to-Arm application migration using Arm MCP Server
33

44
minutes_to_complete: 20
55

6-
who_is_this_for: This is an advanced topic for software developers who want to use AI-powered tools to migrate x86 applications to Arm-based cloud instances.
6+
who_is_this_for: This is an advanced topic for developers who want to use AI-powered tools to migrate x86 applications to Arm-based cloud instances.
77

88
learning_objectives:
9-
- Understand how the Arm MCP Server enables AI developer tools to assist with cloud migration
10-
- Use AI prompts to check Docker images for Arm compatibility
11-
- Perform a fully automated C++ application migration using prompt files with the Arm MCP Server
12-
- Configure different agentic systems to automate Arm migration workflows
9+
- Explain how the Arm MCP Server enables AI-driven x86-to-Arm migration workflows
10+
- Use AI-assisted checks to inspect Docker images for Arm compatibility
11+
- Automate the migration of x86-specific C++ code to Arm using structured prompt files
12+
- Validate and run a migrated Dockerized C++ application on Arm-based systems
13+
- Configure AI agents to reuse the same migration workflow across different tools
1314

1415
prerequisites:
1516
- An AI-powered IDE such as VS Code with agentic tools like GitHub Copilot, Claude Code, Cursor, or similar

0 commit comments

Comments
 (0)