rocks-db
セットアップガイド: Fullscale Rocks MCPサーバー
本ガイドでは、fullscale-rocksデータベース用のMCPサーバーをインストール、設定、起動する方法を説明します。
1. インストール
まだインストールしていない場合は、依存関係をインストールしてください:
cd rocks-mcp
npm installRelated 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 start4. 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/ssePost Message URL:
http://localhost:3001/message
これはMCP Inspectorやその他のSSE互換クライアントで使用できます。
5. ツールリファレンス
サーバーは以下のツールを提供します:
ツール | 目的 | 要件 |
|
|
|
|
|
|
| 全テーブルの一覧表示 |
|
| テーブルの列を表示 |
|
注意: auth_tokenは、rocks-apiのログインプロセスで取得した有効なBearerトークンである必要があります。
This server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityDmaintenanceEnables secure interaction with MySQL databases through SQL queries, supporting read-only operations without approval and write operations with user confirmation.9ISC
- AlicenseAqualityCmaintenanceProvides read-only MySQL query execution, database/table browsing, and table structure inspection with SQL safety validation.515MIT
- AlicenseNot gradedqualityDmaintenanceEnables executing SQL queries, schema introspection, and data management for PostgreSQL and MySQL databases via natural language, supporting local, SSH, and AWS RDS connections.92MIT
- FlicenseAqualityCmaintenanceEnables 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.111
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…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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