Workspace DB Manager logo

Workspace DB Manager

by angrysky56

A TypeScript MCP server for managing workspace databases with filesystem integration. It provides real-time monitoring and management of SQLite databases within a workspace.

View on GitHub

Last updated: N/A

What is Workspace DB Manager?

Workspace DB Manager is a TypeScript server that automates the management of SQLite databases within a defined workspace. It uses the Model Context Protocol (MCP) to provide real-time monitoring, connection pooling, and cross-database operations.

How to use Workspace DB Manager?

To use the server, first install dependencies with npm install, then build the TypeScript code with npm run build. Initialize the core database with npm run init-db and start the server with npm start. Configuration can be customized through a WorkspaceConfig object.

Key features of Workspace DB Manager

  • SQLite database management with automatic discovery

  • Real-time filesystem monitoring for database changes

  • Database connection pooling and management

  • Automatic database tracking and status updates

Use cases of Workspace DB Manager

  • Managing multiple SQLite databases in a development workspace

  • Automating database backups and synchronization

  • Building applications that require real-time database monitoring

  • Providing a centralized interface for database operations

FAQ from Workspace DB Manager

How does the server discover databases?

The server automatically detects new database files, modifications, and removals within the configured watch paths.

Can I configure the file system polling interval?

Yes, the pollInterval option in the WorkspaceConfig object allows you to specify the file system polling interval in milliseconds.

What events does the server emit?

The server emits events for database additions, changes, removals, errors, and initialization.

How do I contribute to the project?

Fork the repository, create a feature branch, commit your changes, push to the branch, and create a Pull Request.

What license is the project released under?

The project is released under the ISC license.