redash-mcp
Provides read-only access to Redash REST API, including listing and searching queries, retrieving query details, executing saved queries with parameters, listing data sources and their schemas, and listing/retrieving dashboards.
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., "@redash-mcplist my queries"
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.
redash-mcp
Redash REST API を読み取り専用でラップする MCP サーバ。唯一の例外として
保存済みクエリの実行(POST /api/queries/{id}/results)のみ許可する。
ツール
list_queries(q?, page, page_size)— クエリ一覧・検索get_query(query_id)— クエリ詳細(api_keyは秘匿)execute_query(query_id, parameters?, max_age)— クエリ実行 → 行データlist_data_sources()— データソース一覧get_data_source_schema(data_source_id)— スキーマlist_dashboards(q?, page, page_size)— ダッシュボード一覧・検索get_dashboard(identifier)— ダッシュボード詳細(id または slug)
Related MCP server: openobserve-community-mcp
設定(環境変数)
変数 | 必須 | 既定(プロセス) | 用途 |
| ✅ | — | 例 |
| stdioで必須 | — | 既定APIキー。HTTPは |
|
|
| |
|
| http バインドホスト。CLI | |
|
| http ポート。CLI | |
| (なし) | 許可 | |
|
| HTTP タイムアウト秒 | |
|
| ジョブ待機の上限秒 | |
|
| 返却行数の上限 |
実行
ローカル(uv):
uv run redash-mcp # stdio
uv run redash-mcp --transport streamable-http --host 127.0.0.1 --port 8000Docker(既定で streamable-http / 0.0.0.0:8000):
docker run --rm -p 8000:8000 \
-e REDASH_URL=http://redash -e REDASH_API_KEY=xxxx redash-mcpstreamable-http でネットワーク公開する場合は DNS リバインディング対策として REDASH_MCP_ALLOWED_HOSTS を設定することを推奨。
LibreChat 連携
各ユーザーが自分の Redash API キーを持てる(X-REDASH-API-KEY ヘッダ)。
REDASH_URL はサーバ側で固定し、REDASH_API_KEY(サーバ既定キー)は設定しない。
各リクエストの X-REDASH-API-KEY ヘッダを実効キーとする。
1. LibreChat の mcpServers 設定
redash:
type: "streamable-http"
url: "http://redash-mcp:8000/mcp"
headers:
X-REDASH-API-KEY: "{{REDASH_API_KEY}}"
customUserVars:
REDASH_API_KEY:
title: "Redash API Key"
description: "Redash の [ユーザー設定] から発行した API キー"2. docker-compose(LibreChat と同一ネットワークに接続)
コンテナは LibreChat と同じ Docker ネットワークに置き、REDASH_MCP_ALLOWED_HOSTS
で許可 Host を絞る。ホストへのポート公開は不要(LibreChat から内部ネットワーク
経由で http://redash-mcp:8000/mcp に接続する)。
services:
redash-mcp:
image: redash-mcp
build: .
environment:
REDASH_URL: http://redash
REDASH_MCP_ALLOWED_HOSTS: "redash-mcp:*"
# REDASH_API_KEY は設定しない(各ユーザーが X-REDASH-API-KEY ヘッダで供給)
networks:
- librechat_default
networks:
librechat_default:
external: trueスタンドアロン(LibreChat を使わない)構成は
docker-compose.example.ymlを参照。
開発
uv sync
uv run pytestMaintenance
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
- 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/oceandepthz/redash-api-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server