Module mcp

Module mcp 

Source
Expand description

MCP (Model Context Protocol) server implementation.

This module implements an MCP server that exposes gabb’s code indexing capabilities as tools for AI assistants like Claude.

Supports dynamic workspace detection - workspaces are automatically inferred from file paths passed to tools, enabling one MCP server to handle multiple projects.

Structs§

McpServer
MCP Server state with multi-workspace support

Functions§

run_server
Run the MCP server with the given workspace and database paths.