MCP.so
ログイン

MCP Sql

@algonacci

基本情報

カテゴリ

データベース

ライセンス

MIT

トランスポート

stdio

作者

algonacci

MCP Sql について

MCP server to give client the ability to access SQL databases (MySQL and PostgreSQL supported)

#mcp-sql#sql-access#database-client

MCP Sql の設定

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

{
  "mcpServers": {
    "sql_access": {
      "command": "uv",
      "args": [
        "--directory",
        "%USERPROFILE%/Documents/GitHub/mcp-sql",
        "run",
        "python",
        "main.py"
      ]
    }
  }
}

MCP Sql のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

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

概要

What is mcp-sql?

mcp-sql is an MCP (Model Context Protocol) server that enables clients to access and interact with SQL databases. It supports MySQL, PostgreSQL, SQLite, SQL Server, and Oracle. The server is intended for developers who want their MCP clients to execute SQL queries and manage database operations through a standardized protocol.

How to use mcp-sql?

Add the provided JSON configuration to your MCP configuration file. The server is invoked using uv to run main.py from the server directory. Replace the path with the actual location of the mcp-sql project on your system.

Key features of mcp-sql

  • Supported databases: MySQL, PostgreSQL, SQLite, SQL Server, Oracle
  • Provides MCP clients with SQL database access
  • Simple configuration via MCP config file
  • Python-based, run with uv

Use cases of mcp-sql

  • Allow AI assistants to query SQL databases directly
  • Enable automated data retrieval and analysis through MCP clients
  • Integrate database operations into MCP-powered workflows
  • Simplify database access for prototyping and testing

よくある質問

1

What databases does mcp-sql support?

mcp-sql supports MySQL, PostgreSQL, SQLite, SQL Server, and Oracle.

2

How do I install and configure mcp-sql?

Add the following JSON block to your MCP configuration file, adjusting the directory path to your local mcp-sql folder: `{"mcpServers": {"sql_access": {"command": "uv", "args": ["--directory", "%USERPROFILE%/Documents/GitHub/mcp-sql", "run", "python", "main.py"]}}}`.

3

What dependencies are required to run mcp-sql?

The server requires `uv` (a Python package installer/solver) and Python to execute `main.py`. No additional runtime dependencies are mentioned in the README.

コメント

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