Expand description
MCP Database Access - Connect to the CSM database for csm-web integration
This module provides read-only access to the CSM database, enabling the MCP server to expose csm-web’s chat sessions without modifying VS Code’s workspace storage.
Functions§
- count_
sessions_ by_ provider - Count sessions by provider
- csm_
db_ exists - Check if the CSM database exists
- get_
csm_ db_ path - Get the default CSM database path
- get_
db_ messages - Get messages for a session
- get_
db_ session - Get a specific session by ID
- get_
db_ workspace - Get a specific workspace by ID
- list_
db_ sessions - List sessions from the CSM database
- list_
db_ workspaces - List all workspaces from the CSM database
- open_
csm_ db - Open the CSM database (read-only mode)
- search_
db_ sessions - Search sessions by title or content