MCP Server
The Lore MCP Server (lore-mcp) implements the Model Context Protocol and connects AI harnesses to the Lore registry in real time.
Key Difference from the CLI
| CLI | MCP Server | |
|---|---|---|
| Writes files to disk | Yes | No |
| Works offline | Yes (after pull) | No |
| Best for | Project setup, CI | Live AI sessions |
Architecture
The MCP Server is a separate binary that sits between your AI harness and the Lore Registry. It:
- Receives MCP tool calls from the AI harness
- Fetches content from the Registry Content API
- Renders content for the detected target runtime
- Returns rendered markdown in the tool response