mysqlInteractor

mysqlInteractorはTypeScriptで書かれたMySQLデータベースとのインタラクションを簡素化するライブラリです。データベース接続、クエリの実行、結果の取得を効率的に行うことができ、開発者がデータベース操作に集中できるようサポートします。

GitHubスター

1

ユーザー評価

未評価

お気に入り

0

閲覧数

17

フォーク

0

イシュー

0

README
mysqlInteractor

MysqlInteractor is simple MCP server that works with any host with MCP client(ex: claude desktop). It allow direct interaction with any database in mysql servers.

Result

image

update mysql credentials

In index.ts put your host, user and password in :

    const connection = await mysql.createConnection({
      host: 'localhost',
      user: 'root',
      password: 'root',
      database: db
    });

then run :

    npm run build
Claude desktop integration

Add this to your claude_desktop_config.json (File->settings->Developer->Claude settings -> configure):

  "mysql-interactor": {
      "command": "node",
      "args": [
        "path\\to\\mysqlInteractor\\build\\index.js"
      ]
    }
Usage
Give me the number of flights by departure airport in flights booking database