loading…
Search for a command to run...
loading…
Enables to interact with Tsurugi RDBMS by executing SQL (DDL, DML, SELECT) and retrieving metadata through MCP.
Enables to interact with Tsurugi RDBMS by executing SQL (DDL, DML, SELECT) and retrieving metadata through MCP.
tsurugi-python-mcp-tools は、Tsurugi RDBMS を MCP ツールとして利用するための Python 製 MCP サーバです。
Java版の tsurugi-mcp-server を参考に作成しています。
内部で tsurugi-dbapi を利用し、fastmcp により HTTP transport の MCP サーバを提供します。
executeDdl: CREATE / DROP)update: INSERT / UPDATE / DELETE)query、WITH 句許可、WITH RECURSIVE は非対応)getTableMetadata)listTableNames)ToolInputError / ToolExecutionError)fastmcp, tsurugi-dbapiTSURUGI_ENDPOINT(必須): 例 tcp://localhost:12345TSURUGI_DEFAULT_TIMEOUT(任意、既定値 30)TSURUGI_AUTH_TOKEN(任意)MCP_HOST(任意、既定値 127.0.0.1)MCP_PORT(任意、既定値 8000)MCP_PATH(任意、既定値 /mcp).\wenv\Scripts\python -m tsurugi_python_mcp_tools
pip install 後は、コンソールコマンドでも起動できます。
tsurugi-mcp
認証方式は起動オプションで明示指定できます。
--user <user> --password <password>--auth-token <auth-token>--credentials <path-to-credential-file>--no-authまた、--enable-tools で実行可能ツールを制限でき、--resource / --prompt で resource/prompt 提供の有効・無効を制御できます。
{
"mcpServers": {
"tsurugi-python-mcp-tools": {
"type": "http",
"url": "http://localhost:8000/mcp"
}
}
}
本プロジェクトは Apache License 2.0 の下で提供されています。
詳細は LICENSE ファイルを参照してください。
Выполни в терминале:
claude mcp add tsurugi-python-mcp-tools -- npx Query your database in natural language
автор: AnthropicRead-only database access with schema inspection.
автор: modelcontextprotocolInteract with Redis key-value stores.
автор: modelcontextprotocolDatabase interaction and business intelligence capabilities.
автор: modelcontextprotocolНе уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории data