chasm_cli/mcp/mod.rs
1// Copyright (c) 2024-2026 Nervosys LLC
2// SPDX-License-Identifier: Apache-2.0
3//! MCP (Model Context Protocol) Server for Chat System Manager
4//!
5//! This module implements an MCP server that exposes csm functionality
6//! to AI agents, enabling them to:
7//! - List and search workspaces and chat sessions
8//! - Access csm-web database sessions and messages
9//! - Find orphaned sessions not in VS Code's index
10//! - Register sessions to make them visible
11//! - Merge sessions across workspaces
12//! - Search chat history with full-text search
13
14#![allow(dead_code, unused_imports)]
15
16pub mod db;
17pub mod resources;
18pub mod server;
19pub mod tools;
20pub mod types;
21
22pub use server::McpServer;