Skip to main content

catenary_mcp/
lib.rs

1// SPDX-License-Identifier: AGPL-3.0-or-later
2// Copyright (C) 2026 Mark Wells <contact@markwells.dev>
3
4//! Catenary is a bridge between MCP (Model Context Protocol) and LSP (Language Server Protocol).
5//!
6//! It allows AI coding assistants to access IDE-quality code intelligence by multiplexing
7//! multiple language servers and exposing their capabilities via MCP tools.
8
9/// Bridge logic between MCP and LSP.
10pub mod bridge;
11/// Command-line interface definitions and utilities.
12pub mod cli;
13/// Configuration handling for language servers and session settings.
14pub mod config;
15/// SQLite database connection management, schema creation, and migrations.
16pub mod db;
17/// Tracing layer that captures errors and warnings to SQLite.
18pub mod error_layer;
19/// Diagnostic noise filtering for LSP server output.
20pub mod filter;
21/// IPC server for host CLI hook integration (diagnostics and root sync).
22pub mod hook;
23/// Grammar installation, listing, and removal for tree-sitter integration.
24pub mod install;
25/// LSP client implementation and server management.
26pub mod lsp;
27/// MCP server implementation and type definitions.
28pub mod mcp;
29/// Session management and event broadcasting.
30pub mod session;
31/// Interactive TUI for session browsing and event tailing.
32pub mod tui;