# modelbound-mcp [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/ModelBound/modelbound-mcp-server  
**GitHub Stars:** 1  
**npm Downloads (last month):** 383  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/modelbound-mcp

## Description
Local-first MCP server for agent skills. Validate, lint, diff, and convert across IDEs.

## Tools
Capabilities this server exposes over MCP:

- **ide.detectLayout** — Detect which IDE skill/rule layouts exist in the current working directory. Returns the list of matching adapters (e.g. cursor, claude, codex, kiro). Local-only, no network.
- **skills.listLocal** — List all skill / rule files found in the detected IDE directories under the current working directory.
- **skills.readLocal** — Read a local skill file (raw contents). Path must be inside the current working directory.
- **skills.writeLocal** — Write a local skill file. Creates parent directories. Path must be inside the current working directory.
- **skills.lint** — Lint a skill file: front-matter, token count, broken links, TODO markers. Local-only.
- **skills.validateFormat** — Validate a skill file against the agentskills.io standard.
- **skills.convert** — Convert a skill file from one IDE format to another (e.g. cursor → claude). Round-trips through a canonical {frontmatter, body} representation.
- **skills.diff** — Diff a local skill file against its cloud counterpart by slug. Local-side diff is computed here; the cloud half requires MODELBOUND_API_KEY.
- **skills.scaffold** — Create a new SKILL.md with default scope constraints and draft review state.
- **skills.flightCheck** — Flight Check: offline safety scan for a skill or prompt (prompt injection, exfiltration, secrets, destructive commands, wildcard tools, loop hazards, clarity, token budget). Pass a file path or raw content. Local-only, zero AI cost. Blocking findings should be fixed before shipping.
- **skills.checks** — Check a local skill with deterministic heuristics (scanner h5). Returns pass / warn / fail with findings — no numeric score.
- **skills.reviewStatus** — Show review_state, review_meta, check status, and confidence trend for a skill.
- **skills.reviewRequest** — Move a skill to pending_review.
- **skills.reviewApprove** — Approve a skill; stores the approved body hash and checks status (pass, warn or fail) at approval time.
- **skills.reviewReject** — Reject a skill with optional reviewer notes.
- **skills.reviewGate** — CI gate: exit semantics via blocked=true when skill is not approved.
- **cloud.pullSkill** — Pull a skill from the ModelBound cloud library. Response includes ai_type, source_platform, source_path, and repo when known. Requires MODELBOUND_API_KEY.
- **cloud.pushSkill** — Create or update a skill in the cloud library. Requires MODELBOUND_API_KEY.
- **cloud.listSkills** — List skills in the cloud library. Supports ai_type (skill|hook|steering|system-prompt|rule|agent|memory|spec|instructions|prompt) and source_platform (claude-code|cursor|kiro|amazon-q|copilot|windsurf|codex|agents|modelbound) filters. Each row includes ai_type, source_platform, source_path, and repo for hierarchy-aware orchestration. Requires MODELBOUND_API_KEY.
- **cloud.resourceTree** — Return the team's full AI resource hierarchy grouped by platform → top-level directory (.claude/skills, .cursor/rules, .kiro/steering, …) → files. Use this BEFORE listSkills when an orchestrator needs to map available context before loading. Requires MODELBOUND_API_KEY.
- **cloud.search** — Full-text search across all cloud content. Requires MODELBOUND_API_KEY.
- **cloud.installMarketplaceSkill** — Install a public marketplace skill into your library. Requires MODELBOUND_API_KEY.
- **optimization.health** — Get token health scores and staleness for your context library. Requires MODELBOUND_API_KEY.
- **optimization.run** — Run AI token optimization on a cloud skill, file, agent, or pack. Returns tokens_saved, savings_pct, version snapshot id, and a per-file breakdown. Requires MODELBOUND_API_KEY. Server creates a backup version automatically; for local-file edits the caller MUST snapshot via the BackupEngine first.
- **optimization.dryRun** — Same as optimization.run but never writes. Returns projected savings. Safe to call from auto-suggest hooks. Requires MODELBOUND_API_KEY.
- **optimization.preview** — Fetch a cached optimized variant of a skill or file without re-running optimization. Useful when an agent wants the lean version for inference but the raw version for editing.
- **workspace.setContext** — Set workspace context before skill list/get/test/pipeline ops. Scopes skills to the current repo by default. Requires MODELBOUND_API_KEY.
- **sync.fromIde** — Sync a local skill file from the IDE to cloud and return a repo-linked skill UUID. Requires MODELBOUND_API_KEY.
- **pipeline.run** — Run the Skill Development Pipeline (Test → Optimize → Production) on a skill. Streams stage results into skill_pipeline_runs. Returns { run_id, status, version_after }. Use pipeline.status to watch progress. Requires MODELBOUND_API_KEY.
- **pipeline.status** — Get pipeline run status. Pass run_id for a specific run, or skill_id + limit for recent runs. Poll every 1-2s while status === 'running'.
- **pipeline.config** — Read or update a skill's pipeline_config (max_latency_ms, enforce_latency/enforce_tests flags, default targets). Pass `config` to update; omit to read.
- **skill.test** — Run a single skill test case against the live model. Pass test_case_id for a saved case or prompt + skill_md for an ad-hoc run. Returns adherence_score (1-10), verdict, latency_ms.
- **skill.testCases** — List saved test cases for a skill.
- **skill.createTestCase** — Create a saved automated check test case for a skill. Requires skill_id, name, and prompt. Optional notes for grading.
- **skill.testRuns** — List recent test runs for a skill (latest first).
- **skill.versions** — List historical versions of a skill or file (from file_versions). Each entry includes version label, sha, created_at, and the actor that produced it.
- **skill.diff** — Return a unified diff between two versions of a skill (or between the live version and an arbitrary string). Use skill.versions first to find version labels.
- **skill.findings** — List safety and quality findings for a skill. Returns findings with stable keys, and ignored_keys. Requires MODELBOUND_API_KEY.
- **skill.ignoreFinding** — Ignore a finding by stable key (or class/severity/message). Requires MODELBOUND_API_KEY.
- **skill.unignoreFinding** — Un-ignore a previously ignored finding. Requires MODELBOUND_API_KEY.
- **skill.benchmark** — Run benchmark latency suite for a skill. Requires MODELBOUND_API_KEY.
- **skill.compareVersions** — Compare two skill versions (e.g. latest vs current). Requires MODELBOUND_API_KEY.
- **skill.suggestImprovements** — Suggest skill improvements from findings, tests and real-world outcomes. Requires MODELBOUND_API_KEY.
- **eval.createCase** — Create a new eval test case (name, input_prompt, optional expected_output, rubric). Requires agent scope.
- **eval.listCases** — List all eval cases for the team. Requires agent scope.
- **eval.run** — Submit actual output for scoring against an eval case. Pass score/pass for manual judging or omit for AI judge.
- **eval.listResults** — List past eval results, optionally filtered by eval_case_id.
- **skill.report_outcome** — Report how a skill performed after you used it. Call this once the task that used the skill is finished — it is how the skill gets improved. Keep excerpts short. Requires MODELBOUND_API_KEY.
- **skill.reliability** — Read back how the team's skills have performed in real use (worked / partial / failed over a rolling window). Use it to pick the most reliable skill for a task, or to find the ones that need attention. Requires MODELBOUND_API_KEY.
- **check_harness** — Check whether a skill is cleared to run unattended. Returns a pass/warn/fail status across the four harness pillars (context, permissions, guardrails, verification) from the skill's latest pipeline run, with the reasons for anything blocking. Call this before using a skill for a task you will not review.
- **report_run** — Report a finished agent run to ModelBound so each step is tied to the skill that shaped it. Send step summaries only (name, kind, duration, tokens, status) — never prompts or outputs. Failed runs become outcome reports for the skill.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "modelbound-mcp": {
    "command": "npx",
    "args": ["-y","modelbound-mcp"],
    "env": {
      "MODELBOUND_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `MODELBOUND_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What modelbound-mcp MCP server does

The modelbound-mcp MCP server gives IDEs and coding agents a common interface for working with agent skill files. Its local tools can detect repository layouts, list and read skill files, write changes, check agentskills.io format compliance, convert between supported IDE formats, and compare local files with cloud versions.

It supports conventions associated with Cursor, Claude, Codex, Kiro, Windsurf, VS Code, and Amazon Q. The local workflow does not require an API key or network access. Optional cloud features connect to ModelBound for shared skill storage and related operations.

## How it works

The package starts as a local Model Context Protocol server over stdio. Tool names use dot notation, such as `skills.listLocal` and `skills.convert`, so an MCP client can discover related operations by namespace.

Local linting checks front matter, estimated token count, broken links, TODOs, and trust-related findings. The trust scanner includes checks for scope limits, unbounded wording, dependencies, and refactor findings. Skill reads can return trust, scanner, and review metadata. Review tools support requesting, approving, rejecting, checking status, and enforcing a review gate. Scope defaults can be adjusted through `.modelbound/task-budgets.json`.

With `MODELBOUND_API_KEY`, the server proxies cloud requests to ModelBound. Cloud operations include searching, listing, pulling, pushing, installing marketplace skills, and checking optimization health. `cloud.resourceTree` returns a hierarchy organized by platform, top-level directory, and files; filters on `cloud.listSkills` can narrow results by AI type and source platform.

## Setup and configuration

Run the package directly with:

```bash
npx modelbound-mcp
```

It can also be installed globally with `npm i -g modelbound-mcp`. Configure an MCP client with the `npx -y modelbound-mcp` command and pass `MODELBOUND_API_KEY` only when cloud operations are needed. Without that variable, local tools remain available.

The same package exposes CLI commands for detecting layouts, listing skills, linting directories, validating files, and converting formats. For example, conversion can translate a Cursor rule into a Claude-oriented output file.

## Tools and capabilities

The modelbound-mcp MCP server exposes these local namespaces and operations:

- `ide.detectLayout` identifies IDE conventions present in a repository.
- `skills.listLocal`, `readLocal`, and `writeLocal` manage local skill files.
- `skills.lint`, `trust`, `validateFormat`, `convert`, and `diff` inspect, check, translate, or compare skills.
- `skills.scaffold` creates a skill with default scope constraints.
- `skills.reviewStatus`, `reviewRequest`, `reviewApprove`, `reviewReject`, and `reviewGate` support approval workflows.
- Cloud tools handle ModelBound search, synchronization, marketplace installation, hierarchy discovery, and health information.

## Limitations and notes

Cloud tools require `MODELBOUND_API_KEY`; local tools do not. The cloud layer is a JSON-RPC proxy, while business logic remains on the hosted service. This repository does not handle cloud data or secrets itself.

The current tool names use camelCase dot notation. Older snake_case names were removed from the local package in version 0.2.0, although the hosted service continues to accept both forms.

_Full upstream README: https://allmcps.com/mcp/modelbound-mcp/readme_

