MCP.so
ログイン

Database MCP Server

@georgi-terziyski

Database MCP Server について

概要はまだありません

基本情報

カテゴリ

データベース

ランタイム

python

トランスポート

stdio

公開者

georgi-terziyski

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "database_mcp_server": {
      "command": "python",
      "args": [
        "-m",
        "db_mcp_server"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Database MCP Server?

Database MCP Server is a Model Context Protocol (MCP) server that provides a unified interface for connecting to and interacting with multiple database systems: SQLite, PostgreSQL, MySQL/MariaDB, and SQL Server. It is designed for LLMs like Claude to execute queries, manage schemas, and handle transactions programmatically.

How to use Database MCP Server?

Install from source with pip install -e ., configure via environment variables (DB_CONFIG_PATH, DB_CONNECTIONS) or a JSON config file, then run as an MCP server with python -m db_mcp_server or as a standalone web server with python -m db_mcp_server.web_server. Use built-in MCP tools like execute_query, list_tables, or add_connection. For other LLMs, send HTTP POST requests to the /call_tool endpoint.

Key features of Database MCP Server

  • Multi-database support (SQLite, PostgreSQL, MySQL/MariaDB, SQL Server)
  • Unified interface for database operations across all types
  • Schema management (create, alter, drop tables and indexes)
  • Query execution (raw SQL or structured tools)
  • Transaction support (begin, commit, rollback)
  • Connection management (add, test, list, remove connections)

Use cases of Database MCP Server

  • Allow Claude or other LLMs to query and update a database using natural language
  • Manage database schemas programmatically through an LLM agent
  • Execute parameterized SQL queries via MCP tools
  • Integrate database operations into automated cross-database workflows

FAQ from Database MCP Server

What databases does Database MCP Server support?

It supports SQLite, PostgreSQL, MySQL/MariaDB, and SQL Server.

How does Database MCP Server connect to a database?

Connections are configured via environment variables (DB_CONFIG_PATH, DB_CONNECTIONS) or a JSON configuration file specifying type, host, port, credentials, and database path.

What are the runtime requirements for Database MCP Server?

Python 3.8+ and SQLAlchemy are required, along with optional database‑specific drivers like psycopg2-binary (PostgreSQL) or mysql-connector-python (MySQL).

What transport protocols does Database MCP Server support?

It supports the standard MCP protocol (stdio) and can also run as a standalone HTTP web server exposing /list_tools and /call_tool endpoints.

Where does the data managed by Database MCP Server live?

Data resides in the connected external databases; the server itself does not store any data.

コメント

「データベース」の他のコンテンツ