Expand description
MCP (Model Context Protocol) server for Sephera.
This crate exposes Sephera’s core capabilities – line-of-code analysis and
context pack generation – as MCP tools over a stdio transport.
AI agents such as Claude Desktop, Cursor, and other MCP-capable clients can discover and invoke these tools through the standard Model Context Protocol.
§Supported tools
| Tool | Description |
|---|---|
loc | Count lines of code per language in a directory |
context | Build an LLM-ready context pack |
§Quick start
sephera mcpOr from Rust code:
#[tokio::main]
async fn main() -> anyhow::Result<()> {
sephera_mcp::run_mcp_server().await
}Structs§
- Sephera
Server - The MCP server handler for Sephera.
Functions§
- run_
mcp_ server - Starts the MCP server on stdio transport.