MCP ExplorerExplorer

Db Mcp

@ALX99on 10 months ago
1 MIT
FreeCommunity
AI Systems
A small little utility that allows AI assistants that support the Model Context Protocol (MCP) to query databases.

Overview

What is Db Mcp

db-mcp is a utility designed for AI assistants that support the Model Context Protocol (MCP) to query various databases seamlessly.

Use cases

Use cases for db-mcp include querying customer data for personalized assistance, running analytics queries for business insights, and generating reports from database information.

How to use

To use db-mcp, install it using the command ‘go install github.com/alx99/db-mcp/cmd/db-mcp@latest’ and run it with ‘db-mcp’. You can connect to a database using a Data Source Name (DSN) and execute queries.

Key features

Key features include support for multiple database systems such as PostgreSQL, MySQL, and SQLite, simple database connection using DSN, and tools for connecting to databases, running queries, and retrieving database flavor.

Where to use

db-mcp can be used in various fields where AI assistants need to interact with databases, such as customer support, data analysis, and automated reporting.

Content

db-mcp

A small little utility that allows AI assistants that support the Model Context Protocol (MCP) to query databases.

Features

  • Support for multiple database systems:
    • PostgreSQL
    • MySQL
    • SQLite
  • Simple database connection using DSN (Data Source Name)

Supported Tools

  • connect: Connect to a database using a DSN.
  • query: Run a query on a database and return the results in CSV format.
  • flavor: Get the flavor of a connected database.

Installation

go install github.com/alx99/db-mcp/cmd/db-mcp@latest

Running

db-mcp

Flags

  • -default-dsn: The DSN to use for the default database.

FAQ

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers