qualien-mcp
Officialqualien-mcp
複合MCPゲートウェイ — 複数の Model Context Protocol サーバーを1つの接続の背後に集約し、SDET / QE ワークフロー向けに厳選されています。AIアシスタントには5つではなく1つのサーバーを追加するだけです。
npx qualien-mcp初期状態では、QEスターターペア を提供します — Playwright MCP(ブラウザ自動化、DOM、スクリーンショット)と Filesystem MCP(プロジェクトファイルの読み取り/編集、ページオブジェクト、テストユーティリティ)— 設定不要です。ツールは playwright__… と filesystem__… という名前空間でアシスタントに公開されます。
なぜゲートウェイなのか?
アシスタントは既に多くのMCPサーバーに直接接続できます。つまり、ゲートウェイは、単なるサーバーの羅列では不可能なことを行うことで存在意義を得ています:
単一エンドポイント — あらゆるクライアント(Claude Code、Claude Desktop、Cursor、…)に追加できます。
キュレーション — サーバーごとかつツールごとに有効/無効を設定できます。ツールの数が少なく、名前が明確であれば、モデルのツール選択が向上します(200個のツールを押し付けると逆に悪化します)。
単一のルーティング/ログ面 — すべての呼び出しは、ダウンストリーム、ツール、レイテンシとともにstderrに記録されます。
クリーンなライフサイクル — 各ダウンストリームを子プロセスとして起動し、終了時にはすべてを停止します(孤立したブラウザプロセスが残りません)。
QE向けに厳選 — 汎用プロキシではなく、特定の考え方に基づいたSDETツールキットです。
Related MCP server: Multi-MCP Hub
アシスタントで使う
Claude Code(.mcp.json またはユーザー設定):
{
"mcpServers": {
"qualien": { "command": "npx", "args": ["-y", "qualien-mcp"] }
}
}Claude Desktop(claude_desktop_config.json)— mcpServers 配下でも同じ構成です。
その単一のエントリだけで、アシスタントは集約されたすべてのサーバーの全ツールを利用できます。
サーバーを追加する
作業ディレクトリに qualien-mcp.config.json を置くか(または --config <path> を渡します)。エントリは組み込みのデフォルトに上書きマージされます — 変更するにはキーを再定義するか、enabled: false を設定してデフォルトを無効にします。新しいリリースは不要です。
{
"servers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/abs/path/to/allow"]
},
"sequential-thinking": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
},
"chrome-devtools": {
"command": "npx",
"args": ["-y", "chrome-devtools-mcp@latest"]
},
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest"],
"tools": { "deny": ["browser_close"] }
}
}
}完全な形式(command、args、env、enabled、tools.allow / tools.deny)については qualien-mcp.config.example.json を参照してください。
組み込みカタログ
qualien-mcpは、既知のサーバー(npmで検証済み)の厳選カタログを同梱しています。そのため、シークレットだけでキーを使ってサーバーを有効にできます — パッケージやコマンドを覚える必要はありません:
{
"servers": {
"chrome-devtools": { "enabled": true },
"postgres": { "enabled": true, "env": { "DATABASE_URI": "postgres://…" } },
"slack": { "enabled": true, "env": { "SLACK_MCP_XOXP_TOKEN": "xoxp-…" } }
}
}npx qualien-mcp catalog を実行すると、それぞれが必要とするものと共に全サーバーが一覧表示されます。現在のカタログ:
キー | 説明 | 必要なもの |
| ブラウザ自動化、DOM、スクリーンショット | — |
| プロジェクトファイルの読み取り/編集 | 許可するディレクトリ(デフォルトはcwd) |
| PR、イシュー、コードレビュー | あなたのGitHub OAuth App + |
| 構造化された推論 / デバッグ | — |
| 永続的なナレッジグラフ | — |
| ネットワーク、コンソール、パフォーマンス、ストレージ | — |
| SQL / バックエンドデータの検証 |
|
| SQL / バックエンドデータの検証 | MySQL環境変数 |
| Slackの読み取り/投稿 |
|
| コンテナの管理 | Dockerデーモン |
| クラスターの調査/操作 | kubeconfig |
| 仕様書から任意のREST APIを操作 |
|
| Jiraのイシューの読み取り/更新 | Atlassian APIトークンの環境変数 |
| Figmaデザインの読み取り |
|
use を使用すると、カタログサーバーを別のキーでマウントできます(例: 2つのデータベース): { "db-prod": { "use": "postgres", "enabled": true, "env": {…} } }。カタログにないものは、command/args または type/url で完全に定義します。
リモート / OAuthサーバー(例: GitHub)
ダウンストリームはローカルだけでなくリモート(Streamable HTTP)にもできます。リモートサーバーは { "type": "http", "url": "…" } です。OAuthが必要な場合、各ユーザーが自分のアカウントでログインします — トークンはユーザーごとに ~/.qualien-mcp/credentials.json(0600)に保存され、バンドルや共有は一切されません。
GitHubのホスト型MCPが代表例です。これは動的クライアント登録をサポートしていないため、ご自身の GitHub OAuth Appを一度登録し、qualien-mcpにClient IDを渡します:
GitHub → 設定 → 開発者設定 → OAuth Apps → 新規作成。コールバックURLを
http://127.0.0.1:41999/callbackに設定します。Client ID をコピーします。qualien-mcp.config.json内:{ "servers": { "github": { "type": "http", "url": "https://api.githubcopilot.com/mcp/", "oauth": true, "clientId": "<your client id>" } } }承認します(ブラウザが一度開きます):
npx qualien-mcp login github
その後、ゲートウェイは非対話的にGitHubに接続し(必要に応じてトークンを更新)、github__* ツールを公開します。リモートサーバーがまだログインしていない場合、ゲートウェイはヒントとともにスキップします(run: npx qualien-mcp login github)。それ以外のすべては引き続き提供され、起動をブロックすることはありません。動的登録をサポートするサーバーは clientId は不要です。
デフォルトで安全
qualien-mcpは呼び出しを転送する前に中央でガードレールを適用します — そのため、ダウンストリームが許可する内容に関係なく保持され、複合ツールも回避できません:
データベースは読み取り専用 — 書き込み/DDL SQL(
INSERT/UPDATE/DELETE/DROP/…)を含むpostgres/mysql呼び出しは拒否されます。{ "postgres": { "readOnly": false } }でオプトインできます。ファイルシステムのルート —
{ "filesystem": { "roots": ["./src", "./tests"] } }は、パス引数がそれらのディレクトリから外れる呼び出しを拒否します。破壊的なインフラツールをブロック — 名前が破壊的に見える
docker/kubernetesツール(delete/remove/prune/kill/…)は、{ "allowDestructive": true }がない限り拒否されます。さらに、サーバーごとの
tools.deny/tools.allowキュレーション。
正直な範囲:これらはLLMが偶然に損害を与えるのを防ぎます。SQLチェックはキーワードベース(ヒューリスティック)であり、パーサーではありません — 敵対的なサンドボックスではありません。本当の分離には、ダウンストリーム自身の権限またはコンテナが必要です。
複合QEツール
パススルーに加えて、qualien-mcpは、1回の呼び出しで複数のダウンストリームを調整する、自ら実装したツール(名前空間 qe__)を同梱しています — ゲートウェイのQE効果です。
qe__verify_api_vs_db — 1回の呼び出しでAPI↔DBの一貫性をエンドツーエンドで検証します。2つのサブ呼び出しを指定します(tools/list で見つけられる名前空間付きツール)。両方を実行し、ペイロードを比較します:
{
"api": { "tool": "openapi__getUser", "arguments": { "id": 1 } },
"db": { "tool": "postgres__query", "arguments": { "sql": "select id, name from users where id = 1" } },
"match": "subset" // every field the DB returns must match the API (default)
}
// → { "match": false, "differences": [ { "path": "name", "api": "Ann", "db": "Bob" } ], … }複合ツールは、必要なダウンストリームが接続されている場合にのみ表示されます(qe__verify_api_vs_db には database サーバーが必要です)。今後さらに追加予定です(repro-from-Jira、page-object-from-URL、flaky triage)。
仕組み
単一のプロセスで、qualien-mcpはアシスタントにとってMCP サーバーであり、各ダウンストリームにとってMCP クライアントでもあります:
assistant ⇄ qualien-mcp ⇄ playwright-mcp
⇄ filesystem-mcp
⇄ …tools/listはすべてのダウンストリームにファンアウトし、キュレーションルールでフィルタリングし、それぞれを<server>__<tool>として名前空間にまとめます。tools/callはそのプレフィックスで所有サーバーにルーティングし、レスポンスをそのまま渡します。リソースとプロンプトも、ダウンストリームが提供する場合には同じように集約されます。
起動に失敗したダウンストリームはログに記録され、スキップされます — ゲートウェイは残りを引き続き提供します。
ログはstderrに出力されます(stdoutはプロトコル用)。ホストはそれらをMCPログに表示します。
ロードマップ
v0.1 — Playwright + Filesystem、名前空間、キュレーション、ロギング、クリーンなライフサイクル ✅
次回 — 設定駆動の拡張(GitHub(ホスト型OAuth MCP経由)、DB、Sequential-Thinking、Memory、Chrome DevTools)、複合QEツール(例: API↔DBの一貫性を1回の呼び出しで検証)、安全スコープ。
ライセンス
MIT
Available Tools
39 toolsfilesystem__create_directoryCreate DirectoryAIdempotent
Create a new directory or ensure a directory exists. Can create multiple nested directories in one operation. If the directory already exists, this operation will succeed silently. Perfect for setting up directory structures for projects or ensuring required paths exist. Only works within allowed directories.
Inputs: path (required). Returns: content
filesystem__directory_treeDirectory TreeBRead-only
Get a recursive tree view of files and directories as a JSON structure. Each entry includes 'name', 'type' (file/directory), and 'children' for directories. Files have no children array, while directories always have a children array (which may be empty). The output is formatted with 2-space indentation for readability. Only works within allowed directories.
Inputs: path (required), excludePatterns. Returns: content
filesystem__edit_fileEdit FileADestructive
Make line-based edits to a text file. Each edit replaces exact line sequences with new content. Returns a git-style diff showing the changes made. Only works within allowed directories.
Inputs: path (required), edits (required), dryRun. Returns: content
filesystem__get_file_infoGet File InfoARead-only
Retrieve detailed metadata about a file or directory. Returns comprehensive information including size, creation time, last modified time, permissions, and type. This tool is perfect for understanding file characteristics without reading the actual content. Only works within allowed directories.
Inputs: path (required). Returns: content
filesystem__list_allowed_directoriesList Allowed DirectoriesARead-only
Returns the list of directories that this server is allowed to access. Subdirectories within these allowed directories are also accessible. Use this to understand which directories and their nested paths are available before trying to access files.
Inputs: no named parameters. Returns: content
filesystem__list_directoryList DirectoryARead-only
Get a detailed listing of all files and directories in a specified path. Results clearly distinguish between files and directories with [FILE] and [DIR] prefixes. This tool is essential for understanding directory structure and finding specific files within a directory. Only works within allowed directories.
Inputs: path (required). Returns: content
filesystem__list_directory_with_sizesList Directory with SizesBRead-only
Get a detailed listing of all files and directories in a specified path, including sizes. Results clearly distinguish between files and directories with [FILE] and [DIR] prefixes. This tool is useful for understanding directory structure and finding specific files within a directory. Only works within allowed directories.
Inputs: path (required), sortBy. Returns: content
filesystem__move_fileMove FileADestructive
Move or rename files and directories. Can move files between directories and rename them in a single operation. If the destination exists, the operation will fail. Works across different directories and can be used for simple renaming within the same directory. Both source and destination must be within allowed directories.
Inputs: source (required), destination (required). Returns: content
filesystem__read_fileRead File (Deprecated)ARead-only
Read the complete contents of a file as text. DEPRECATED: Use read_text_file instead.
Inputs: path (required), head, tail. Returns: content
filesystem__read_media_fileRead Media FileARead-only
Read a file and return it as a base64-encoded content block with its MIME type. Image and audio files are returned as image/audio content; any other file type is returned as an embedded resource. Only works within allowed directories.
Inputs: path (required). Returns: content
filesystem__read_multiple_filesRead Multiple FilesARead-only
Read the contents of multiple files simultaneously. This is more efficient than reading files one by one when you need to analyze or compare multiple files. Each file's content is returned with its path as a reference. Failed reads for individual files won't stop the entire operation. Only works within allowed directories.
Inputs: paths (required). Returns: content
filesystem__read_text_fileRead Text FileARead-only
Read the complete contents of a file from the file system as text. Handles various text encodings and provides detailed error messages if the file cannot be read. Use this tool when you need to examine the contents of a single file. Use the 'head' parameter to read only the first N lines of a file, or the 'tail' parameter to read only the last N lines of a file. Operates on the file as text regardless of extension. Only works within allowed directories.
Inputs: path (required), head, tail. Returns: content
filesystem__search_filesSearch FilesARead-only
Recursively search for files and directories matching a pattern. The patterns should be glob-style patterns that match paths relative to the working directory. Use pattern like '.ext' to match files in current directory, and '**/.ext' to match files in all subdirectories. Returns full paths to all matching items. Great for finding files when you don't know their exact location. Only searches within allowed directories.
Inputs: path (required), pattern (required), excludePatterns. Returns: content
filesystem__write_fileWrite FileADestructiveIdempotent
Create a new file or completely overwrite an existing file with new content. Use with caution as it will overwrite existing files without warning. Handles text content with proper encoding. Only works within allowed directories.
Inputs: path (required), content (required). Returns: content
playwright__browser_clickCDestructive
Perform click on a web page
Inputs: target (required), button, element, modifiers, +1 more.
playwright__browser_closeCDestructive
Close the page
Inputs: no named parameters.
playwright__browser_console_messagesCRead-only
Returns all console messages
Inputs: level (required), all, filename.
playwright__browser_dragBDestructive
Perform drag and drop between two elements
Inputs: endTarget (required), startTarget (required), endElement, startElement.
playwright__browser_dropADestructive
Drop files or MIME-typed data onto an element, as if dragged from outside the page. At least one of "paths" or "data" must be provided.
Inputs: target (required), data, paths, element.
playwright__browser_emulate_mediaADestructive
Emulate CSS media features for the page, for example switch between the light and dark color scheme. Omitted parameters are left unchanged; null clears an override.
Inputs: media, contrast, colorScheme, forcedColors, +1 more.
playwright__browser_evaluateCDestructive
Evaluate JavaScript expression on page or element
Inputs: function (required), target, element, filename.
playwright__browser_file_uploadCDestructive
Upload one or multiple files
Inputs: paths.
playwright__browser_fill_formBDestructive
Fill multiple form fields
Inputs: fields (required).
playwright__browser_findARead-only
Search the accessibility snapshot of the current page for text or a regular expression. Returns matching snapshot nodes with a few lines of surrounding context (like search snippets), each shown under its path from the root of the tree, which is cheaper than capturing the whole snapshot when you only need to locate an element and its ref.
Inputs: text, regex, filename.
playwright__browser_handle_dialogBDestructive
Handle a dialog
Inputs: accept (required), promptText.
playwright__browser_hoverCDestructive
Hover over element on page
Inputs: target (required), element.
playwright__browser_network_requestARead-only
Returns full details (headers and body) of a single network request, or a single part if part is set. Use the number from browser_network_requests.
Inputs: index (required), part, filename.
playwright__browser_network_requestsARead-only
Returns a numbered list of network requests since loading the page. Use browser_network_request with the number to get full details.
Inputs: static (required), filter, filename.
playwright__browser_press_keyCDestructive
Press a key on the keyboard
Inputs: key (required).
playwright__browser_resizeADestructive
Resize the browser window
Inputs: width (required), height (required).
playwright__browser_run_code_unsafeADestructive
Run a Playwright code snippet. Unsafe: executes arbitrary JavaScript in the Playwright server process and is RCE-equivalent.
Inputs: code, filename.
playwright__browser_select_optionBDestructive
Select an option in a dropdown
Inputs: target (required), values (required), element.
playwright__browser_snapshotBRead-only
Capture accessibility snapshot of the current page, this is better than screenshot
Inputs: boxes, depth, target, filename.
playwright__browser_tabsBDestructive
List, create, close, or select a browser tab.
Inputs: action (required), url, index.
playwright__browser_take_screenshotARead-only
Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.
Inputs: scale (required), type, target, element, +2 more.
playwright__browser_typeCDestructive
Type text into editable element
Inputs: text (required), target (required), slowly, submit, +1 more.
playwright__browser_wait_forBRead-only
Wait for text to appear or disappear or a specified time to pass
Inputs: text, time, textGone.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 39 tools
Most tools target clearly distinct actions (click, hover, drag, navigate, etc.), but a few pairs overlap: read_file is a deprecated duplicate of read_text_file, list_directory essentially duplicates list_directory_with_sizes, and browser_network_requests vs browser_network_request differ only by singular/plural. Descriptions do enough to disambiguate in most cases.
Names follow a consistent snake_case verb_noun pattern (read_text_file, write_file, create_directory, browser_navigate, browser_click) cleanly separated by filesystem__/playwright__ prefixes. Minor deviations like the legacy read_file vs read_text_file and the noun-first browser_console_messages slightly break the pattern.
39 tools is heavy for a single server, though it reflects two bundled domains (filesystem ~14, playwright ~25). Each namespace is reasonable on its own, but combined the surface is on the large side and pushes toward the 'heavy' band.
Playwright coverage is thorough (navigation, interaction, forms, network, dialogs, screenshots, tabs), and filesystem covers read/write/edit/list/search/tree/move/info. However, the filesystem domain has a notable gap: there is no delete/remove tool for files or directories, forcing agents into dead ends for cleanup.
Maintenance
Related MCP Connectors
Single-connection MCP gateway discovering and executing 490+ verified MCP & A2A tools.
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
MCP gateway with runtime security policy, tool-call-level control, and audit of agent actions.
One MCP endpoint for your company's tools, with per-person sign-in, policy and audit.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceAggregates multiple MCP servers behind a single, secure endpoint with unified tool/resource discovery, OAuth authentication, and resilient request routing. Enables users to manage and interact with multiple MCP backends through one centralized interface with load balancing and circuit breakers.2-
- FlicenseNot gradedqualityDmaintenanceA centralized gateway and router that integrates multiple MCP servers into a single endpoint with built-in policy enforcement and secret management. It features a Web GUI for managing tool access, audit logs, and multi-environment configurations across various sub-servers.-
- AlicenseNot gradedqualityCmaintenanceA gateway that aggregates multiple MCP servers into a single endpoint, namespacing their tools and forwarding calls, so an agent connects to one MCP to access the entire stack.MIT
- AlicenseNot gradedqualityCmaintenanceA unified MCP gateway that aggregates multiple MCP servers and API plugins behind a single endpoint with authentication, rate limiting, audit logging, REST API bridge, and web dashboard.8MIT