Skip to content
Skills Library
AI & agents · Tool integration

cmf-mcp

/cmf-mcp

Use when setting up the CMF MCP server so an AI coding assistant can query CMF metadata using natural language, or when the CMF MCP server is already running and the user wants to use it from their coding agent. Covers Docker deployment, per-agent configuration (Claude Code, GitHub Copilot, Cursor, Codex), and example prompts.

Repository
cmf ↗
Licence
Apache-2.0
Last repository change
15.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
13
Deprecation

No signals detected. Repository changed on 15.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Use when setting up the CMF MCP server so an AI coding assistant can query CMF metadata using natural language, or when the CMF MCP server is already running and the user wants to use it from their coding agent. Covers Docker deployment, per-agent configuration (Claude Code, GitHub Copilot, Cursor, Codex), and example prompts.

Original author description

Use when setting up the CMF MCP server so an AI coding assistant can query CMF metadata using natural language, or when the CMF MCP server is already running and the user wants to use it from their coding agent. Covers Docker deployment, per-agent configuration (Claude Code, GitHub Copilot, Cursor, Codex), and example prompts.

How it works

  1. Prerequisites (new deployment)
  2. Deploy the MCP server
  3. Connect to your coding agent
  4. Using CMF MCP from your coding agent
  5. Troubleshooting
Original SKILL.md headings · 101 lines, 346 words
SKILL.md preview
---
name: cmf-mcp
description: >
  Use when setting up the CMF MCP server so an AI coding assistant can query CMF metadata
  using natural language, or when the CMF MCP server is already running and the user wants
  to use it from their coding agent. Covers Docker deployment, per-agent configuration
  (Claude Code, GitHub Copilot, Cursor, Codex), and example prompts.
version: 1.0.0
---

First check: **is the CMF MCP server already running?** Check for an existing `.mcp.json` in the project. If yes, skip to [Using CMF MCP from your coding agent](#using-cmf-mcp-from-your-coding-agent).

## Prerequisites (new deployment)

- Docker + Docker Compose
- A running CMF Server (see [`../cmf-server/SKILL.md`](../cmf-server/SKILL.md))
- An MCP-compatible AI assistant

## Deploy the MCP server

```bash
cd mcp/
cp example.env .env
```

Edit `.env`:
```env
CMF_BASE_URL=http://<your-cmf-server-host>:80
# Optional second/third/fourth server:
# CMF2_BASE_URL=http://staging-server:80
# CMF3_BASE_URL=http://another-server:80
```

```bash
docker compose up -d
curl http://localhost:8000/health   # → {"status": "ok"}
```

## Connect to your coding agent

### Claude Code — `.mcp.json` (project root)
```json
{
  "mcpServers": {
    "cmf": { "url": "http://localhost:8000/mcp", "transport": "http" }
  }
}
```
Restart Claude Code or run `/mcp` to reload.

### GitHub Copilot — VS Code settings
```json
{
  "github.copilot.chat.mcpServers": {
    "cmf": { "url": "http://localhost:8000/mcp", "transport": "http" }
  }
}
```
Add to `.vscode/settings.json` or VS Code user settings. Reload the window.

### Cursor — `~/.cursor/mcp.json`
```json
{
  "mcpServers": {
    "cmf": { "url": "http://localhost:8000/mcp", "transport": "http" }
  }
}
```

### Codex — `~/.codex/config.json`
```json
{
  "mcpServers": {
    "cmf": { "url": "http://localhost:8000/mcp", "transport": "http" }
  }
}
```

---

## Using CMF MCP from your coding agent

Once connected, query CMF metadata in natural language:

```
What pipelines are tracked in CMF?
Show all executions for the Train stage in my_pipeline.
What datasets produced models/rf.pkl?
Show the model card for model ID 7.
What were the evaluation metrics for the latest run?
```

**Check available tools** — in Claude Code run `/mcp`; in Cursor/Copilot type `@cmf` in agent chat.

**End-to-end workflow:**
1. Instrument pipeline → `cmf metadata push -p my_pipeline` → ask the agent natural language questions

See [references/mcp-tools.md](references/mcp-tools.md) for the full tool reference.

## Troubleshooting

- **`Connection refused` on port 8000** — run `docker compose up -d` in `mcp/`
- **CMF Server unreachable** — verify with `curl http://<cmf-server>:80/apiv1.0/pipelines`
- **Tools not appearing** — restart the agent after updating `.mcp.json`
- **Empty results** — push metadata first: `cmf metadata push -p <name>`

---

**Docs:** [MCP Server overview](https://hewlettpackard.github.io/cmf/mcp/) · [Quick Start](https://hewlettpackard.github.io/cmf/mcp/quickstart/) · [Configuration](https://hewlettpackard.github.io/cmf/mcp/configuration/) · [Tools Reference](https://hewlettpackard.github.io/cmf/mcp/tools/)
Files in this package (3)
  • SKILL.md 3 KB
  • sources.md 1 KB
  • references/mcp-tools.md 1 KB

Versions

The database has no other skills named cmf-mcp.

Database snapshot: 13.11.2026 · package version f8dd41c19c8b (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100cmf
    Use when working with the Common Metadata Framework (CMF) — initializing CMF in a project, instrumenting ML pipeline code, syncing metadata and artifacts with a CMF Server, querying lineage and artifacts, or setting up the CMF MCP server for AI assistant integration. Routes to…
  • 100cmf-sync
    Use when pushing or pulling CMF metadata and artifacts between a local environment and a CMF Server or central artifact repository (S3, MinIO, SSH, OSDF, local). Covers `cmf metadata push/pull`, `cmf artifact push/pull`, `cmf repo push/pull`, and collaborative team workflows.…
  • 100render-mcp
    为 AI 编码工具连接并配置 Render MCP server——按工具配置(Cursor、Claude Code、Codex)、认证、工作区选择、工具目录及排障。当 MCP 未配置、list_services() 失败、用户询问 Render MCP 配置,或某个操作类技能需要 MCP 但尚未连接时使用。触发词:MCP、Render MCP、list_services、MCP setup、MCP server、API key、Bearer token、mcp.render.com、workspace selection。
  • 100google-ads-api-mcp-setup
    Guides developers through downloading, configuring, and installing the official open-source Google Ads MCP Server. Use this skill when a user wants to connect their AI assistant (such as Gemini, Claude Code, or Cursor) to their Google Ads account to query campaigns or retrieve…
  • 100render-mcp
    Connects and configures the Render MCP server for AI coding tools—setup per tool (Cursor, Claude Code, Codex), authentication, workspace selection, capability discovery, and troubleshooting. Use when MCP is not configured, list_services() fails, the user asks about Render MCP…
  • 100mcp-configure
    Configure the LaunchDarkly hosted MCP server during onboarding. Use when the parent LaunchDarkly onboarding skill reaches Step 4 (MCP). Supports Cursor, Claude Code, Windsurf, GitHub Copilot, and other MCP-compatible agents. OAuth authentication; no API keys for the hosted server.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.