mmc-mcp
OfficialAllows syncing SKILL.md files from a GitHub repository, and optionally provides tools for interacting with GitHub issues and pull requests via an external MCP server.
Supports integration with Jira for issue and project management, enabling AI agents to create, update, or query issues within business processes.
Provides integration with Slack for sending messages and interacting with channels as part of automated business process slices.
Provides an SQLite database interface via an external MCP server, allowing AI agents to execute SQL queries or manage data stored in SQLite databases.
Enables connection to Xero for accounting operations, allowing AI agents to interact with financial data through typed connectors.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mmc-mcpBegin the customer onboarding process"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mmc-mcp — Model My Context MCP Server
mmc-mcp is the open-source runtime that lets AI agents execute structured business processes without going off-script. It exposes process steps to AI agents (Claude, Gemini, GPT, …) as Model Context Protocol tools, gates each step on a sequenced event bus so the agent can't skip or reorder work, and routes external calls through typed connectors.
Think of it as the execution half of the Model My Context platform. The other half — authoring those processes — happens in MMC Workbench.

Table of Contents
Related MCP server: task-orchestrator
Install in Claude Desktop
The easiest way to run mmc-mcp is as a Claude Desktop extension. No terminal, no Bun, no Node.js install — Claude Desktop's bundled runtime executes the server.
Download
mmc-mcp.mcpbfrom the latest release.Open Claude Desktop → Settings → Extensions and drag the
.mcpbfile into the panel.When prompted, fill in:
OpenRouter API key — get one here
OpenRouter model — leave the default (
google/gemini-2.5-flash) unless you have a reasonGitHub Personal Access Token — needs read access to the GitHub repo holding your
SKILL.mdfiles (create a fine-grained PAT)
Toggle the extension on. That's it.
To verify, ask Claude "What MCP tools do you have from mmc-mcp?" — it should list log-event-to-bus, get-next-event, handle-latest-event, plus any registered connectors and interface slices.
Want to see the full list of prompted fields, defaults, and what each one does? They're declared in
manifest.jsonunderuser_config.
If you want to build the bundle yourself or develop on the server, see Quick start (build from source) below.
How it works
A business process is modelled as an ordered list of slices (steps). Each slice is one SKILL.md file with YAML frontmatter and a Markdown body. Slices come in two flavours:
Interface slices — executed by an AI agent. The agent polls
get-next-event, receives exactly the slice it should run next, collects user input, and callscomplete-sliceto advance the process.Automated slices — executed server-side by
createAutomatedSliceHandler. They fire when their declared trigger event arrives on the bus, run any query/command jobs, evaluate scenarios, and publish outcome events.
Process state lives entirely in the event bus. Every step's outputs are published as events; the next step only fires when its given events are present. This is what makes the agent unable to skip work — there is literally no "next step" until the event sequence allows it.
External services (Slack, Xero, GitHub, Jira, …) are reached through typed connectors — either built-in (json-read, json-write) or proxied via ExternalMcpManager to child MCP servers.
MMC Workbench: the authoring half
mmc-mcp is the executor. The authoring story lives in MMC Workbench, a separate human-in-the-loop governance tool that:
Imports messy SOPs (rough text, transcripts, existing process docs) and turns them into structured outcome models.
Models the events of a process visually so non-developers can reason about flow, conditions, and dependencies.
Generates
SKILL.mdfiles from the modelled outcome model. These are the files this server consumes.Publishes to GitHub as the single source of truth —
mmc-mcpsyncs from there at startup.Pushes test sessions directly to a running
mmc-mcpinstance via theregister-skillsMCP tool, letting authors validate a process end-to-end before publishing.
Without the workbench the server has nothing to dispatch — the two halves are designed together. If you're standing up mmc-mcp alone for development you can skip the workbench by hand-writing SKILL.md files, but for any real workflow the workbench is the upstream.
The licensing split mirrors this:
Component | License | Where |
mmc-mcp (this repo) | GPL-3.0-or-later AND Apache-2.0 |
|
| Open standard | This repo's parsers + workbench's generator both consume the same shape |
MMC Workbench | Proprietary / SaaS |
Quick start (build from source)
This path is for developers who want to build the .mcpb bundle, run the server outside Claude Desktop, or hack on mmc-mcp itself.
Prerequisites
Bun 1.x — production runtime and dev runtime.
pnpm 10+ — package manager (used for
pnpm test,pnpm build).Persistent storage access for two directories:
data/— the event log (events.db), workflow data (data.db), and any JSON collections referenced by slices.skills/— theSKILL.mdfiles. Synced from GitHub at startup if configured.
Node.js is not required for runtime. Vitest tests run under Bun via
bun x vitest run(see Testing for the SQLite shim that makes this work).
Install and run
git clone https://github.com/modelmycontext/mmc-mcp.git
cd mmc-mcp
pnpm install
cp .env.example .env
# edit .env: set OPENROUTER_API_KEY and GITHUB_PERSONAL_ACCESS_TOKEN
# edit config/config.json: replace `your-github-org` / `your-skills-repo` with the
# GitHub repo that holds your `SKILL.md` files (or set `mmcGithubServer: []`
# if you'll author them locally and want to skip GitHub sync entirely)
pnpm startPointing at your skills source
config/config.json controls where mmc-mcp looks for SKILL.md files at startup:
"mmcGithubServer": [
{
"owner": "your-github-org",
"repo": "your-skills-repo",
"path": "models",
"branch": "main"
}
]owner/repo— your GitHub org and repository. The PAT in.env(GITHUB_PERSONAL_ACCESS_TOKEN) needs read access to it.path— directory inside the repo containing the outcome models. Hardcoded tomodelsin the workbench's publish flow; leave as-is.branch— which branch to pull from.
If you don't have a skills repo yet, set mmcGithubServer: [] and drop hand-written SKILL.md files into skills/ directly. The server runs fine with no GitHub sync — it just expects whatever it dispatches to be present locally.
Build the .mcpb bundle
To produce an installable mmc-mcp.mcpb from your local source:
pnpm build:mcpb # esbuild → dist-mcpb/server/index.js (fully self-contained)
pnpm pack:mcpb # @anthropic-ai/mcpb pack → dist-mcpb/mmc-mcp.mcpbThe resulting dist-mcpb/mmc-mcp.mcpb is ~256 KB, contains the bundled server + manifest.json + your edited config/config.json, and can be dragged into Claude Desktop's Extensions panel as described in Install in Claude Desktop.
Edit
config/config.jsonbefore runningpnpm pack:mcpbif you want a specificmmcGithubServerbaked into the distributed bundle.
Server transports
The server boots with two MCP transports active:
HTTP (StreamableHTTP) on
http://localhost:3001/mcp— for Claude Desktop, MCP Inspector, the workbench test panel, and any HTTP-MCP client.stdio — for direct CLI integration.
To force a fresh GitHub sync of SKILL.md files at startup: pnpm start:force-sync.
To skip GitHub sync entirely (e.g. if you've put SKILL.md files in skills/ by hand): pass --no-sync.
Configuration
Two files do all the configuration.
.env
OPENROUTER_API_KEY=sk-or-v1-... # used by the automated slice runner for rule + instruction evaluation
OPENROUTER_MODEL=google/gemini-2.5-flash # the model the runner calls
GITHUB_PERSONAL_ACCESS_TOKEN=... # used by the GitHub skill sync + (optionally) the GitHub external MCP
# Optional, for Slack-using processes:
SLACK_BOT_TOKEN=xoxb-...
SLACK_TEAM_ID=T...config/config.json
{
"skillsDir": "./skills",
"mmcGithubServer": [
{
"owner": "your-org",
"repo": "your-skills-repo",
"path": "models",
"branch": "main"
}
],
"externalServers": [
{
"name": "sqlite",
"command": "bun",
"args": ["x", "-y", "mcp-server-sqlite", "--db", "data/events.db"]
},
{
"name": "github",
"command": "bun",
"args": ["x", "-y", "@modelcontextprotocol/server-github"],
"env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "{{GITHUB_PERSONAL_ACCESS_TOKEN}}" }
}
]
}Key | Purpose |
| Where local |
| Repos to sync skills from at startup. Requires |
| Child MCP servers to spawn and merge into the tool list. Use |
Architecture
The high-level diagram is at the top of this README. For the runtime details — event bus, slice dispatch, the unified path between production and workbench test sessions, the connector layer — see docs/ARCHITECTURE.md.
A short orientation:
src/server/index.ts— bootstraps both transports, owns the EventBus subscriber that dispatches automated slices, hosts the inline tool dispatch table.src/services/automatedSliceRunner.ts—createAutomatedSliceHandler(production AND workbench test sessions both flow through this; see the path-unification doc block at the top of the file).src/services/sliceEvaluator.ts—executeSliceQueries+evaluateSlice, the deterministic scenario engine used bycomplete-slice.src/skill-engine/—SKILL.mdand outcome-model JSON loading, withextract*helpers shared between disk and inline sources.src/connectors/—Connectorinterface,ConnectorExecutor, andconnectorOutputKeys.ts(extracts a fact value from a connector's result).src/events/— pub/sub bus with sequenced events, plus SQLite/JSON/in-memory stores.testAwareEventStore.tsroutes events for sessions markedtestMode: trueto the in-memory store so workbench test runs don't pollute production state.
Testing
pnpm test # runs the full vitest suite under Bun
pnpm test:watch # vitest in watch modeThe test runner is Vitest under Bun (bun x vitest run). Production uses bun:sqlite; Vitest workers run as Node, so we alias bun:sqlite to a small node:sqlite-backed shim — see tests/_shims/bun-sqlite.ts and vitest.config.ts.
Performance regression suite (run after every build):
pnpm build && bun x vitest run tests/performance.test.tsThis exercises EventBus throughput, SqliteEventStore I/O, and BusinessRuleEvaluator with wall-clock thresholds.
Project structure
src/ GPL-3.0 — server runtime
├── server/ MCP server bootstrap, request dispatcher, ExternalMcpManager
├── services/ automatedSliceRunner, sliceEvaluator, todoProcessor, llm
├── skill-engine/ SKILL.md parsing, outcome-model loading, GitHub sync
├── connectors/ ConnectorExecutor + connectorOutputKeys (server-side glue)
├── events/ EventBus (pub/sub + sequence numbers), event stores
├── data-sources/ JsonDataSource (data/*.json), SqliteDataSource
└── utils/ logger, businessRuleEvaluator, factValueResolver, strings, logic
sdk/ Apache-2.0 — public connector API (no @src/ imports allowed)
├── connectorTypes.ts Connector / ConnectorContext / DataSources / McpTool
├── parsing.ts parseJobInputs, parseKeyValueBlock, extractField
└── index.ts Barrel export
connectors/ Apache-2.0 — built-in connectors (json-read, json-write, file-store, …)
tests/ GPL-3.0 — vitest suite
docs/ Apache-2.0 — ARCHITECTURE.md
config/ config.json (per-deployment)
data/ Local event log + JSON collections (gitignored)
skills/ SKILL.md files (synced from GitHub or local)
public/ README assetsContributing
Contributions welcome. See CONTRIBUTING.md for dev setup, commit conventions, the test-runner caveat, and how the workbench fits into the SKILL.md authoring loop.
If you're filing a bug, please include:
The output of
pnpm start(server boot log)The MCP tool call that failed (request + response)
Whether the session was a test session (
testMode: true) or production
Code of Conduct: CODE_OF_CONDUCT.md.
License
This repository is dual-licensed by folder, not as a whole — see LICENSING.md for the full breakdown.
The short version:
src/andtests/— GPL-3.0-or-later (server runtime; copyleft).sdk/,connectors/,docs/— Apache-2.0 (the public connector SDK and built-in connector implementations; permissive).
The split lets third-party authors ship proprietary connectors that import from @sdk/... without inheriting GPL obligations from the server runtime. Forks of the server itself stay copyleft.
The SKILL.md format is an open standard — anyone can author or consume it.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/modelmycontext/mmc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server