Database Connections
Summary
A TypeScript-based database server that provides a unified interface for connecting to multiple database systems (SQLite, PostgreSQL, SQL Server, and MongoDB). Built by cuongtl1992, this implementation offers flexible database interactions through a consistent API, supporting both server-sent events and standard I/O communication modes. Useful for AI assistants and applications that need to query, update, and explore database schemas across different database technologies.
Available Actions(4)
connect-database
Connect to a database. Parameters: connectionId (string), type (string) - Database type ('sqlite', 'postgres', 'mssql', or 'mongodb').
disconnect-database
Disconnect from a database. Parameters: connectionId (string) - The connection ID to disconnect.
execute-query
Execute a query that returns results. Parameters: connectionId (string), query (string) - SQL query or MongoDB aggregation pipeline (as JSON string), params (optional array) - Array of parameters for the query.
execute-update
Execute a query that doesn't return results (INSERT, UPDATE, DELETE). Parameters: connectionId (string), query (string) - SQL query or MongoDB command (as JSON string), params (optional array) - Array of parameters for the query.
Community Reviews
No reviews yet. Be the first to review!
Sign in to join the conversation