Expand description
MCP (Model Context Protocol) server implementation for context-creator
This module provides a JSON-RPC server that allows AI agents to analyze codebases programmatically.
Modules§
- cache
- Cache implementation for MCP server
- handlers
- RPC method handlers for the MCP server
- rmcp_
handlers - Helper functions for RMCP server implementation
- rmcp_
server - RMCP-based MCP server implementation for context-creator
Structs§
- Diff
Files Request - Request structure for diff_files
- Diff
Files Response - Response structure for diff_files
- Diff
Hunk - Diff hunk structure
- GetFile
Metadata Request - Request structure for get_file_metadata
- GetFile
Metadata Response - Response structure for get_file_metadata
- Health
Response - Health check response structure
- Process
Local Request - Request structure for process_local_codebase
- Process
Local Response - Response structure for process_local_codebase
- Process
Remote Request - Request structure for process_remote_repo
- Process
Remote Response - Response structure for process_remote_repo
- Search
Codebase Request - Request structure for search_codebase
- Search
Codebase Response - Response structure for search_codebase
- Search
Result - Search result entry
- Semantic
Search Request - Request structure for semantic_search
- Semantic
Search Response - Response structure for semantic_search
- Semantic
Search Result - Semantic search result
- Server
Handle - Server handle wrapper for managing the MCP server lifecycle
Enums§
- Semantic
Search Type - Type of semantic search
Traits§
- Codebase
RpcServer - Server trait implementation for the
CodebaseRpc
RPC API. - Health
RpcServer - Server trait implementation for the
HealthRpc
RPC API.
Functions§
- start_
server - Start the MCP server on the specified address