tsurugi-python-mcp-tools
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tsurugi-python-mcp-toolslist all tables"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
tsurugi-python-mcp-tools
tsurugi-python-mcp-tools は、Tsurugi RDBMS を MCP ツールとして利用するための Python 製 MCP サーバです。
Java版の tsurugi-mcp-server を参考に作成しています。
内部で tsurugi-dbapi を利用し、fastmcp により HTTP transport の MCP サーバを提供します。
主な機能
DDL 実行(
executeDdl:CREATE/DROP)DML 実行(
update:INSERT/UPDATE/DELETE)SELECT 実行(
query、WITH句許可、WITH RECURSIVEは非対応)テーブルメタデータ取得(
getTableMetadata)テーブル名一覧取得(
listTableNames)SQL 入力の基本バリデーションとエラーハンドリング(
ToolInputError/ToolExecutionError)
動作要件
Python 3.10 以上
依存パッケージ:
fastmcp,tsurugi-dbapi接続先に Tsurugi RDBMS が起動していること
主な設定(環境変数)
TSURUGI_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_toolspip install 後は、コンソールコマンドでも起動できます。
tsurugi-mcp認証方式は起動オプションで明示指定できます。
--user <user> --password <password>--auth-token <auth-token>--credentials <path-to-credential-file>--no-auth
また、--enable-tools で実行可能ツールを制限でき、--resource / --prompt で resource/prompt 提供の有効・無効を制御できます。
mcp.jsonの例
{
"mcpServers": {
"tsurugi-python-mcp-tools": {
"type": "http",
"url": "http://localhost:8000/mcp"
}
}
}ライセンス
本プロジェクトは Apache License 2.0 の下で提供されています。
詳細は LICENSE ファイルを参照してください。
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/septigram/tsurugi-python-mcp-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server