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), params (optional array - 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), params (optional array - parameters for the query)
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!