https://github.com/rlippmann/context-compiler-mcp
MCP server for Context Compiler
https://github.com/rlippmann/context-compiler-mcp
Last synced: 14 days ago
JSON representation
MCP server for Context Compiler
- Host: GitHub
- URL: https://github.com/rlippmann/context-compiler-mcp
- Owner: rlippmann
- License: apache-2.0
- Created: 2026-05-25T07:07:35.000Z (15 days ago)
- Default Branch: main
- Last Pushed: 2026-05-25T08:01:41.000Z (15 days ago)
- Last Synced: 2026-05-25T09:24:04.534Z (15 days ago)
- Language: TypeScript
- Size: 33.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# Context Compiler MCP
Local stdio MCP server for Context Compiler.
This server keeps one in-memory Context Compiler engine instance and exposes four MCP tools:
- `apply_directive(input)`
- `get_state()`
- `export_checkpoint()`
- `import_checkpoint(checkpoint)`
User-visible behavior:
- explicit directives update stored state deterministically
- clarify decisions are returned directly and remain distinct from updates
- checkpoint export/import supports continuation-safe restore, including pending clarification state
Out of scope in v0:
- remote hosting
- preprocessor behavior
- planner or autonomous workflow behavior
- multi-session orchestration
## Install
```bash
npm install -g @rlippmann/context-compiler-mcp
```
## Run
```bash
context-compiler-mcp
```
## MCP tools
- apply_directive
- get_state
- export_checkpoint
- import_checkpoint
`apply_directive` accepts canonical Context Compiler directives like:
```text
use uv
prohibit docker
set premise concise replies
```
Clarify responses are blocking and require confirmation before mutation continues.
## License
Apache-2.0