Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mubit-ai/codaph/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Options
Default working directory for MCP tool calls. Defaults to current directory.
MCP Protocol
The Codaph MCP server implements:- Protocol Version:
2024-11-05 - Transport: stdio with JSON-RPC 2.0
- Framing: Supports both Content-Length headers and line-delimited JSON
Available Tools
codaph_projects_list
Lists all Codaph projects in the local registry with saved provider/automation settings. Input Schema: No parameters required Returns: Array of projects with settings and statuscodaph_projects_add
Adds a project path to the Codaph local project registry. Input Schema:path(string, required): Absolute or relative path to project directory
codaph_projects_set_last
Sets the current/last project used by Codaph MCP tool defaults. Input Schema:path(string, required): Path to tracked project
codaph_status
Returns Codaph sync/automation status for a project (same ascodaph status --json).
Input Schema:
cwd(string): Working directoryproject_path(string): Alternative to cwdrepoId(string): Repository ID
codaph_sessions_list
Lists captured sessions from local Codaph mirror. Input Schema:cwd(string): Working directoryrepoId(string): Repository IDlimit(integer): Max sessions to return (1-5000, default 200)
codaph_contributors_list
Lists contributors/actors in the local Codaph mirror. Input Schema:cwd(string): Working directoryrepoId(string): Repository IDsessionId(string): Optional session filterlimit(integer): Max contributors (1-5000, default 200)
codaph_timeline_get
Reads timeline events from local Codaph mirror with filtering support. Input Schema:cwd(string): Working directoryrepoId(string): Repository IDsessionId(string): Filter to sessionthreadId(string): Filter to threadactorId(string): Filter by actorfrom(string): ISO timestamp lower boundto(string): ISO timestamp upper bounditemType(string): Filter by event typeoffset(integer): Skip first N eventslimit(integer): Max events (1-1000, default 200)includePayload(boolean): Include event payloads (default true)
codaph_diff_summary
Summarizes file changes for a Codaph session. Input Schema:sessionId(string, required): Session to analyzecwd(string): Working directoryrepoId(string): Repository IDpathFilter(string): Filter to matching paths
Examples
Start MCP server
Start with custom default directory
Test MCP server locally
Agent Integration
The MCP server enables agents to:- Query session history - Find relevant past coding sessions
- Access timeline events - Review what happened in each session
- View file changes - See what files were modified
- Manage projects - Switch between different codebases
Example Tool Call
Server Capabilities
Related Commands
- codaph mcp setup claude - Configure Claude Code to use Codaph MCP
- codaph sessions - List sessions
- codaph timeline - View timeline