Skip to main content
Glama
rsutana

rocks-db

by rsutana

セットアップガイド: Fullscale Rocks MCPサーバー

本ガイドでは、fullscale-rocksデータベース用のMCPサーバーをインストール、設定、起動する方法を説明します。

1. インストール

まだインストールしていない場合は、依存関係をインストールしてください:

cd rocks-mcp
npm install

Related MCP server: mysql-mcp-server

2. 設定

サーバーにはデータベースの認証情報とOAuth公開鍵が必要です。

データベース設定

rocks-mcp/.envを作成または編集します:

MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
MYSQL_DATABASE=employee
MYSQL_USER=employee
MYSQL_PASSWORD=thisisapassword

PG_HOST=127.0.0.1
PG_PORT=5432
PG_DATABASE=employee
PG_USER=employee
PG_PASSWORD=thisisapassword

SSE_PORT=3001

認証

サーバーは自動的に以下の場所にあるOAuth公開鍵を探します: /home/ryscript/fullscale-rocks/rocks-api/storage/oauth-public.key

このファイルはrocks-apiからのJWTトークンを検証するために使用されるため、必ず存在することを確認してください。

3. サーバーの実行

開発モード

tsxを使用してサーバーを実行します(ファイル変更時にリロードされます):

npm run dev

本番モード

TypeScriptコードをビルドし、ビルドされたバージョンを起動します:

npm run build
npm start

4. AIアプリケーションへの接続

Claude Desktop

claude_desktop_config.jsonに以下を追加します:

{
  "mcpServers": {
    "rocks-db": {
      "command": "node",
      "args": ["/home/ryscript/fullscale-rocks/rocks-mcp/build/index.js"]
    }
  }
}

汎用MCPクライアント (SSE)

サーバーは、リモートまたはWebベースのクライアント向けにServer-Sent Events (SSE) もサポートしています。

  • SSE URL: http://localhost:3001/sse

  • Post Message URL: http://localhost:3001/message

これはMCP Inspectorやその他のSSE互換クライアントで使用できます。

5. ツールリファレンス

サーバーは以下のツールを提供します:

ツール

目的

要件

execute_read

SELECTクエリの実行

auth_token, db_type

execute_write

INSERT/UPDATE/DELETEの実行

auth_token (管理者のみ), db_type

list_tables

全テーブルの一覧表示

auth_token, db_type

describe_table

テーブルの列を表示

auth_token, db_type, table_name


注意: auth_tokenは、rocks-apiのログインプロセスで取得した有効なBearerトークンである必要があります。

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables secure interaction with MySQL databases through SQL queries, supporting read-only operations without approval and write operations with user confirmation.
    9
    ISC
  • A
    license
    A
    quality
    C
    maintenance
    Provides read-only MySQL query execution, database/table browsing, and table structure inspection with SQL safety validation.
    5
    15
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables executing SQL queries, schema introspection, and data management for PostgreSQL and MySQL databases via natural language, supporting local, SSH, and AWS RDS connections.
    92
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    Enables read-only exploration and querying of PostgreSQL or MySQL databases via MCP, with schema discovery, safe SQL validation, natural language to SQL conversion, and CSV export.
    11
    1

View all related MCP servers

Related MCP Connectors

  • Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…

  • Connect to PlanetScale databases, branches, schema, query insights, and execute SQL

  • Run SOQL queries to explore and retrieve Salesforce data. Access accounts, contacts, opportunities…

View all MCP Connectors

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/rsutana/rocks-db-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server