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.
まだレビューはありません. 最初のレビューを投稿しましょう!
会話に参加するにはサインインしてください
Connect to a database. Parameters: connectionId (string), type (string) - Database type ('sqlite', 'postgres', 'mssql', or 'mongodb').
Disconnect from a database. Parameters: connectionId (string) - The connection ID to disconnect.
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 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.