MCPServers
Database Connections - MCP server logo

Database Connections

17
0

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.

Last Updated: April 17, 2025

Community Reviews

0.0
0 reviews
5
0
4
0
3
0
2
0
1
0

No reviews yet. Be the first to review!

Sign in to join the conversation

Coming soon to
HighlightHighlight AI

Language

TypeScript

Categories

Tags