Skip to content
@adaptivemcp

Adaptive MCP

Adaptive runtime for MCP clients. Build muscle, not fat. Telemetry-driven optimization through modular extensions

AdaptiveMCP

Turn MCP usage into learned metadata

AdaptiveMCP is a learning layer over Model Context Protocol (MCP) primitives. It observes how MCP tools are actually used and attaches learned metadata to existing primitives — it does not replace MCP, redefine tools, or add protocol abstractions. Clients adapt from real signal instead of guessing.

Status: experimental. The packages are published, but the API may shift before 1.0.

How it works

  • 🧩 A learning layer, not a new protocol — observes tool usage and attaches learned metadata to existing MCP primitives.
  • 📊 The store is authoritative — all metadata lives in a SQLite store (node:sqlite); the tools-metadata.yaml view is a derived projection, recomputed whenever metadata changes — never edited by hand.
  • 🔌 Server governs, client executes — the server publishes a narrow, server-governed resource (dev.adaptivemcp/tools-metadata); the client reads it, adapts, and reports observations back, degrading gracefully on any host that ignores it.
  • 💪 Modular, dependency-light packages — all @adaptivemcp/* libraries are published to npm.

Data always flows in one direction: event → MemoryStore → derived YAML view.

Published packages

Package Version Description
@adaptivemcp/spec npm Extension identifiers, event schemas, and shared types for Adaptive MCP.
@adaptivemcp/graph-analysis npm Graph analysis for Adaptive MCP execution DAGs: critical paths, bottlenecks, failure cascades, anti-patterns, and workflow forecasting.
@adaptivemcp/memory npm Persistent operational knowledge for Adaptive MCP, backed by SQLite (node:sqlite).
@adaptivemcp/telemetry npm Tool execution events and observability for Adaptive MCP.
@adaptivemcp/evaluation npm Outcome scoring and feedback loops for Adaptive MCP.
@adaptivemcp/extension npm Adaptive MCP extension: derives the YAML tools-metadata view from the SQLite store and serves it to MCP clients.
@adaptivemcp/runtime npm Batteries-included Adaptive MCP runtime: wires telemetry, evaluation, routing, orchestration, approval, and the extension into one transport-agnostic loop.
@adaptivemcp/routing npm Model selection and cost optimization for Adaptive MCP.
@adaptivemcp/orchestration npm Composition and execution strategies for Adaptive MCP.
@adaptivemcp/approval npm Intent, plan, and tool approval boundaries for Adaptive MCP.
@adaptivemcp/thin-client npm Minimal client-side execution loop for Adaptive MCP.
@adaptivemcp/middleware npm Pluggable middleware chain for Adaptive MCP (Transform I/O, gate, inject-auth, observe).
@adaptivemcp/mcp-binary npm Generic CLI-binary -> MCP-server stdio wrapper (the only sanctioned shell-out layer).
@adaptivemcp/opencode-plugin npm OpenCode plugin for Adaptive MCP - maps OpenCode hooks to Adaptive MCP telemetry and middleware

Projects

The packages above are the core. They are exercised and documented by sibling projects:

  • 📦 adaptive-mcp — the monorepo with the @adaptivemcp/* sources, runnable examples, and the dev.adaptivemcp/tools-metadata SEP draft.
  • 🤖 agent — an MCP-native agent host (@adaptivemcp/agent) that owns both the LLM completion and the tool execution, so the learning loop runs against a real client rather than only synthetic demos.
  • 🧹 qc — QueryCleaner, a real third-party MCP server (Python) that publishes dev.adaptivemcp/tools-metadata; the agent drives it end to end in CI.
  • 📚 adaptivemcp.github.io — the documentation site, adaptivemcp.dev.

Learn more

We're just getting started 💪

Popular repositories Loading

  1. agent agent Public

    provider-agnostic, MCP-native agent

    TypeScript 1

  2. qc qc Public

    Local-first data profiling, sanitization, and synthetic data generation

    Python 1

  3. .github .github Public

  4. adaptivemcp.github.io adaptivemcp.github.io Public

    JavaScript

Repositories

Showing 4 of 4 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…