Skip to content

remove performix from MCP Server and documentation in this repo - #164

Open
JoeStech wants to merge 1 commit into
mainfrom
remove-performix
Open

remove performix from MCP Server and documentation in this repo#164
JoeStech wants to merge 1 commit into
mainfrom
remove-performix

Conversation

@JoeStech

Copy link
Copy Markdown
Member
  • Removed bundled Performix runtime, apx_recipe_run, APX utilities, queries, tests, and CI/SSH setup.
  • Removed Performix from build inputs, Docker packaging, server registry metadata, and in-repo setup docs.
  • Added the performance-routing hint to knowledge_base_search.
  • Updated client prompts to use knowledge search, then the dedicated Performix MCP server, with Linux perf fallback.

NOTE: there are some upstream registry and documentation changes that still need to be done outside this repo, which I will do separately.

@JoeStech
JoeStech requested a lite review from Copilot August 26, 2026 21:57
@JoeStech
JoeStech requested a review from a team as a code owner August 26, 2026 21:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the bundled Arm Performix/APX runtime and its apx_recipe_run MCP tool from the server, build artifacts, CI, and in-repo documentation, and updates “performance” guidance to route users through knowledge_base_search and an external/dedicated Performix MCP server (with Linux perf as fallback).

Changes:

  • Removed Performix/APX runtime packaging, lock entries, staging logic, integration tests, and SSH/target setup from CI.
  • Removed the apx_recipe_run tool implementation and associated SQL/query/test assets; updated server metadata and docs accordingly.
  • Updated agent prompt templates to start with knowledge_base_search, then use a dedicated Performix MCP server (or perf fallback).

Reviewed changes

Copilot reviewed 40 out of 40 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
README.md Removes Performix-related docs and SSH volume-mount examples.
mcp-local/utils/apx.py Deletes APX/Performix helper utilities (tool implementation support).
mcp-local/tests/test_mcp.py Removes APX integration coverage; adds assertion that APX tool is absent and KB routing hint exists.
mcp-local/tests/test_build_inputs.py Drops Performix lock/assertions; adds tests ensuring Performix is not bundled and prompts are updated.
mcp-local/tests/CpuBurnerOriginal.java Removes Performix/APX integration-test workload source.
mcp-local/tests/constants.py Removes APX tool call request fixtures.
mcp-local/sql/queries.sql Deletes Performix/APX recipe SQL queries.
mcp-local/server.py Removes apx_recipe_run tool and APX imports; updates knowledge_base_search description with performance-routing hint.
mcp-local/server.json Removes SSH-key/known_hosts runtime argument templates (Performix-specific).
mcp-local/scripts/stage-build-inputs.py Removes Performix artifact staging step.
mcp-local/performix-deployment-scenarios.md Removes Performix/APX usage guide.
mcp-local/Dockerfile.inputs Removes Performix artifact from inputs image layout.
mcp-local/Dockerfile Removes Performix extraction, env vars, and runtime wiring; removes SQL copy that was only used for APX queries.
mcp-local/build-inputs.lock.json Removes Performix artifacts from the lock.
CONTRIBUTING.md Updates reproducible-build documentation to remove Performix references.
agent-integrations/windsurf/arm-vs-x86-performance-comparison.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/windsurf/arm-hotspots-optimization.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/windsurf/arm-full-optimization.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/vs-code/arm-vs-x86-performance-comparison.prompt.md Removes apx_recipe_run tool; updates instructions to dedicated Performix MCP server workflow.
agent-integrations/vs-code/arm-hotspots-optimization.prompt.md Removes apx_recipe_run tool; updates instructions to dedicated Performix MCP server workflow.
agent-integrations/vs-code/arm-full-optimization.prompt.md Removes apx_recipe_run tool; updates instructions to dedicated Performix MCP server workflow.
agent-integrations/vs-code/arm-enablement.prompt.md Removes apx_recipe_run from tool list; updates optional perf evidence guidance to dedicated Performix MCP server.
agent-integrations/kiro/arm-vs-x86-performance-comparison.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/kiro/arm-hotspots-optimization.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/kiro/arm-full-optimization.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/gemini/arm-vs-x86-performance-comparison.toml Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/gemini/arm-hotspots-optimization.toml Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/gemini/arm-full-optimization.toml Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/cursor/arm-vs-x86-performance-comparison.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/cursor/arm-hotspots-optimization.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/cursor/arm-full-optimization.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/codex/arm-vs-x86-performance-comparison.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/codex/arm-hotspots-optimization.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/codex/arm-full-optimization.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/codex/arm-enablement/SKILL.md Updates expected Arm MCP tool availability and performance-evidence guidance.
agent-integrations/antigravity/arm-vs-x86-performance-comparison.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/antigravity/arm-hotspots-optimization.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/antigravity/arm-full-optimization.md Routes performance workflow via knowledge search + dedicated Performix MCP server / perf fallback.
agent-integrations/agent-install-instructions.md Removes Performix/SSH mount instructions from installation guide.
.github/workflows/integration-tests.yml Removes SSH target + Java workload setup and APX debug env from CI integration tests.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

in knowledge_search["description"]
)

print("\n***Test Passed: arm-mcp container initilized and ran successfully")
Comment thread CONTRIBUTING.md
Comment on lines 32 to +33
The final MCP image build does not resolve or download Python packages, Ubuntu
packages, Performix, or migrate-ease. Those inputs are acquired separately by
packages or migrate-ease. Those inputs are acquired separately by
Comment thread CONTRIBUTING.md
Comment on lines +265 to +269
#### Updating Migrate-ease

Update the versioned URL or source revision and the expected SHA256 in
`mcp-local/build-inputs.lock.json`. Prefer an upstream-published checksum when
one is available. Performix has separate AMD64 and Arm64 artifacts;
migrate-ease is one pinned source archive used by both architectures. The
one is available. Migrate-ease is one pinned source archive used by both architectures. The
argument-hint: '[local workspace or GitHub repo URL] [--apply-fixes optional]'
agent: 'agent'
tools: ['search/codebase', 'search/fileSearch', 'search/textSearch', 'search/listDirectory', 'edit/editFiles', 'execute/runInTerminal', 'execute/getTerminalOutput', 'read/terminalLastCommand', 'arm-mcp/skopeo', 'arm-mcp/check_image', 'arm-mcp/knowledge_base_search', 'arm-mcp/migrate_ease_scan', 'arm-mcp/mca', 'arm-mcp/apx_recipe_run', 'arm-mcp/sysreport_instructions']
tools: ['search/codebase', 'search/fileSearch', 'search/textSearch', 'search/listDirectory', 'edit/editFiles', 'execute/runInTerminal', 'execute/getTerminalOutput', 'read/terminalLastCommand', 'arm-mcp/skopeo', 'arm-mcp/check_image', 'arm-mcp/knowledge_base_search', 'arm-mcp/migrate_ease_scan', 'arm-mcp/mca', 'arm-mcp/sysreport_instructions']

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we revisit tools: for all of these VSCode prompts? To my understanding, in VS Code, the prompt’s tool list takes precedence over default agent tools, so installed Performix tools and/or the terminal needed for the perf fallback may be unavailable.

Possible options:

  • Omit tools: entirely to inherit all enabled Agent/MCP tools.
  • Add performix/* and the terminal tool explicitly (assuming that's the name of the MCP)
  • Omit tools: and use #tool: references in the body to recommend tools without restricting others.

Comment on lines 17 to 22
* Confirm runtime context before profiling:
* Try to infer the workload command, target host/IP, SSH username, and whether the target is localhost or remote. Confirm before running. Use absolute paths. Here are some examples of the value to pass for the cmd parameter:
* For C++ code: `/home/user/arm-migration-example/benchmark`
* For Python code: `python /home/user/workspace/train.py`
* For Java: `java -cp "absolute/path/to/class" some.package.Main`
* If localhost is requested, use `localhost` as the remote_ip.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of this guidance seems closely tied to the removed apx_recipe_run interface, including cmd and remote_ip. Would it be better for these prompts to describe the required outcome (i.e. identify the workload, select or configure an appropriate target, and run the recipe) while deferring the exact parameters and target workflow to the connected Performix tooling?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants