apm-cli
MCP configuration tool
What it is and what it does
APM is a package manager designed specifically for AI coding agents. It lets you declare agent dependencies—skills, prompts, plugins, MCP servers, and agent configurations—in a single `apm.yml` manifest file, then installs and resolves them with transitive dependency support, just like npm or pip do for code. Every developer who clones your repository runs `apm install` and gets an identical, reproducible agent setup across Copilot, Claude, Cursor, and other supported agents.
The tool treats agent context as executable (since prompts are programs for LLMs) and enforces security by default: it scans for hidden Unicode that could hijack agent behavior, pins integrity hashes in a lockfile, and gates transitive MCP servers behind trust prompts. It also supports organizational governance through `apm-policy.yml`, letting security teams restrict which sources, scopes, and primitives developers can install. You can compile configurations into agent-specific formats (e.g., `.github/copilot-instructions.md` for Copilot) with a single command.
Use it for:
- Declare and share agent skills, prompts, and plugins across a team in one manifest file, ensuring every developer gets identical setup.
- Install MCP servers into multiple agent clients (Copilot, Claude, Cursor) from a single `apm install` command.
- Enforce organizational security policies on agent dependencies, blocking unapproved sources or primitives before they reach disk.
- Export agent configurations as standard plugin.json packages or zipped distributions for sharing across teams.
- Audit and detect drift in agent context by rebuilding from the manifest and comparing against the working tree.
- Integrate agent dependency management into CI/CD pipelines using GitHub Actions or branch protection rules.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
APM is a dependency manager and configuration tool for AI agents that resolves and installs agent primitives (skills, prompts, plugins, MCP servers) from git repositories into a reproducible, lockfile-pinned setup.
Yes. APM solves a real problem—reproducible, portable agent configuration—that has no established standard tool. It is actively maintained, has low install friction, carries a permissive MIT license, and integrates with major agent platforms. Install it if you manage agent setups across a team or need to version-control and audit agent dependencies. The 18 runtime dependencies are all common, well-maintained libraries (click, requests, GitPython, rich), so dependency risk is low.
Install
apm-cli on PyPI
pip
pip install apm-cliuv
uv add apm-clipoetry
poetry add apm-cliInstalling apm-cli
Before you install
Low friction: pure Python wheel with 18 runtime dependencies including click, requests, GitPython, and LLM integrations. Active maintenance with a release 8 days ago. Requires Python 3.10 or later.
License in practice
MIT License permits commercial and private use with minimal restrictions. You may use, modify, and distribute the software freely provided you include the original copyright notice and license text.
Quickstart
pip install apm-cli
apm install microsoft/apm-sample-package#v1.0.0
apm compile -t copilot
Requires Python 3.10 or later; git must be available for repository operations.
Verify before relying
- Whether APM's transitive dependency resolution handles circular dependencies or version conflicts in agent packages.
- Performance characteristics when resolving large dependency trees across multiple git hosts.
- Whether the security scanning (Unicode hijacking detection, content hashing) is cryptographically audited.
- How policy enforcement behaves when a package violates apm-policy.yml rules in CI/CD contexts.
Package facts
| License | MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 18 — click, colorama, pyyaml, requests, truststore, python-frontmatter, llm, llm-github-models, tomli, toml, tomlkit, rich, rich-click, watchdog, GitPython, ruamel.yaml, filelock, websockets |
| Maintenance | actively maintained — 8 days since the last release |
| First released | |
| Downloads | 101,837/month — #12,911 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: apm_cli-0.28.0-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
google-agents-cliA CLI toolchain that equips coding agents…
permissive · top 15,000 on PyPI
metagit-cliMetagit provides cross-repository awareness and…
unclear · top 15,000 on PyPI
scitex-devProvides unified developer tooling for the…
agpl · top 15,000 on PyPI
fast-agent-mcpfast-agent-mcp is a CLI-first framework for…
permissive · top 15,000 on PyPI
pdm-build-lockedA pdm plugin that includes locked dependency…
permissive · top 5,000 on PyPI
elastic-apmElastic APM is the official Python agent for…
permissive · top 5,000 on PyPI
scout-apmScout APM is a Python application performance…
permissive · top 15,000 on PyPI
aip-agents-binaryA local execution agent library for building…
unclear · top 15,000 on PyPI
deepagents-cliCommand-line tool for scaffolding, configuring,…
permissive · top 15,000 on PyPI
ddapm-test-agentEmulates Datadog APM agent endpoints to test…
permissive · top 5,000 on PyPI