Conan MCP logo

Conan MCP

by conan-io

Manage Conan projects, dependencies, profiles, licenses, and vulnerability scans through MCP.

Install Conan MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "conan-io-conan-mcp": {
      "command": "uvx",
      "args": [
        "conan-mcp"
      ],
      "env": {
        "CONAN_MCP_CONAN_PATH": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

uvx conan-mcp

Downloading pygments (1.2MiB) Downloading pydantic-core (2.0MiB) Downloading cryptography (4.5MiB) Downloaded pygments Downloaded pydantic-core Downloaded cryptography Installed 51 packages in 32ms Traceback (most recent call last): File "/home/user/.cache/uv/archive-v0/MW9xeZ-KBSBJJ5Hu/bin/conan-mcp", line 6, in <module> from conan_mcp.main import main File "/home/user/.cache/uv/archive-v0/MW9xeZ-KBSBJJ5Hu/lib/python3.11/site-packages/conan_mcp/main.py", line 6, in <module> from

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 1mo ago.

Overview

The conan-io/conan-mcp MCP server connects AI agents to the Conan C/C++ package manager. It can inspect profiles, create library or executable projects, search packages, install dependencies, collect host-context license data, and scan dependencies for vulnerabilities. It runs locally through `uvx` or a local Python environment and invokes Conan from the system PATH unless `CONAN_MCP_CONAN_PATH` selects another installation. Reach for it when an agent needs to set up or audit Conan-based C/C++ projects.

Use cases

  • Create a Conan-based CMake library with declared dependencies
  • Search configured remotes for package versions and binaries
  • Install project dependencies with host settings and options
  • Collect licenses for host-context dependencies
  • Scan a Conan project or package reference for vulnerabilities

Key features

  • Generate CMake, Meson, MSBuild, Bazel, and Autotools projects
  • Read and list Conan profiles
  • Search local caches and configured remotes
  • Install dependencies and build missing binaries
  • Collect dependency license information
  • Scan dependencies for known vulnerabilities

Tools37

What Conan MCP lets your agent do. Expand a tool for its parameters.

Self-reported~91 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

19/19 checks healthy over the last 80d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · conan-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars11Stargazers on the source repository.
Last commit8mo agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Tools exposed37Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Conan MCP works

What conan-io/conan-mcp MCP server does

The conan-io/conan-mcp MCP server exposes common Conan package-management tasks through MCP tools. It is intended for C and C++ development workflows where an agent needs to create project files, resolve dependencies, inspect package availability, or review dependency metadata.

Project generation supports library and executable templates for CMake, Meson, MSBuild, Bazel, and Autotools. A generated project can include regular requirements and tool requirements, such as build-system packages. The creation operation accepts a project name, optional version, working directory, and an overwrite flag.

How it works

The server runs as a local MCP process and uses an installed Conan executable to perform package-manager operations. Paths supplied to dependency operations are resolved relative to the requested working directory. This applies to project folders as well as conanfile.txt and conanfile.py files.

Package searches can query the local cache, configured remotes, or both. Search parameters include package name, version or version range, user, channel, recipe revision, package ID, settings, options, and remote. Dependency installation can select a remote, restrict resolution to the cache, override host settings and options, and optionally build missing binaries from source.

The conan-io/conan-mcp MCP server uses Conan graph information for license collection. License analysis covers packages in the host context and excludes build-context tools. Vulnerability scanning can inspect a project dependency graph or audit one specific Conan reference; a path and a package reference cannot be used together.

Setup and configuration

Python 3.10 or newer and Conan are required. The documented MCP configuration runs the package with uvx:

config.json
{
  "mcpServers": {
    "conan": {
      "command": "uvx",
      "args": ["conan-mcp"]
    }
  }
}

By default, Conan is located through the system PATH or the environment in which the MCP process runs. Set CONAN_MCP_CONAN_PATH when a particular Conan executable or virtual-environment installation must be used. For local development, the repository instructions use uv sync followed by uv run conan-mcp.

Tools and capabilities

Available operations cover:

  • Reading the default or a named Conan profile and listing available profiles.
  • Creating projects from supported library and executable templates.
  • Searching recipes and binary packages with Conan cache, remote, revision, settings, and option filters.
  • Installing dependencies and producing a dependency graph.
  • Collecting dependency license information for host packages.
  • Scanning a project or individual package reference for known security vulnerabilities.

The conan-io/conan-mcp MCP server also exposes the underlying input fields used by these operations, including template, name, version, requirements, tool requirements, working directory, force, profile, remote, path, and package-selection filters.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Conan MCP

Install Python 3.10 or newer, install Conan, and configure the server with `uvx` using `args: ["conan-mcp"]`.

Set the `CONAN_MCP_CONAN_PATH` environment variable in the MCP configuration. If it is unset, the server looks for `conan` on PATH or in its running virtual environment.

Yes. The vulnerability-scan tool can inspect dependencies from a project path or audit one Conan package reference. These inputs are mutually exclusive.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewConan MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/conan-io-conan-mcp?style=directory)](https://allmcps.com/mcp/conan-io-conan-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/conan-io-conan-mcp"><img src="https://allmcps.com/api/badge/conan-io-conan-mcp?style=directory" alt="Conan MCP on AllMCPs" /></a>