API Debugger MCP
API Debugger MCP
FastMCPを使用してHTTP APIを検査、テスト、検証、比較、デバッグするための、本番向けのModel Context Protocol (MCP) サーバーです。
このプロジェクトの背景
APIの不具対対応では、APIクライアント、従来のドキュメント、ログ、テスト、スイート、バグトラッカー技術を頻繁に行き来きする必要があります。APIDebugger MCP は、MCP互換のAIエージェントに対し、これらの調査を実行するための構造化されたツールキットを提供します。
##馬能
APIデバッグと QAのための12のMCPツール
一般的な資格情報フィールドとヘッダーの安全なシークレットマスキング
設定可能なタイムアウトとレスポンスサイズの上限
プライベート/ローカルネットワアクセスをデフォルトでブロック
JSONスキーマ形式のレスポンス契約の検証
レスポンスボディ間のリグレッション比較
複数エンドポイントのヘルスチェック
APIテススチケナリオの自動生成
構造化されたバグレポートの生成
エンドツーエンドのインシデント調査ワークフロー
MCPリソースと再利用可能なプロンプト
Dockerサポート
Pytest + coverage
Ruff linting
Python 3.10–3.12でのGitHub Actions CI
Related MCP server: mcp-api-tools
MCPツール
inspect_endpointsend_requestvalidate_responsecompare_responsesanalyze_errordetect_api_issuegenerate_api_testsgenerate_bug_reportcheck_contractapi_health_checkredact_sensitive_datainvestigate_incident
プロジェクト構成
api-debugger-mcp/
├── .github/workflows/ci.yml
├── docs/
├── src/api_debugger_mcp/
│ ├── analysis.py
│ ├── client.py
│ ├── config.py
│ ├── models.py
│ ├── security.py
│ ├── server.py
│ └── tools.py
├── tests/
├── .dockerignore
├── .env.example
├── .gitignore
├── Dockerfile
├── LICENSE
├── Makefile
├── docker-compose.yml
└── pyproject.tomlクイックスタート
1. 仮想環境を作成する
python -m venv .venvWindows:
.venv\Scripts\activatemacOS/Linux:
source .venv/bin/activate2. インストール
pip install -e ".[dev]"3. 設定
.env.example を .env にコピーし、使用する環境に必要な値だけを設定してください。
実際のAPIキーやベアラートークンをコミットしないでください。
4. ローカルで実行する
HTTP MCPサーバーの場合:
api-debugger-mcpデフォルトのMCPエンドポイントは次のとおりです:
http://localhost:8000/mcpローカルのstdioモードの場合は:
MCP_TRANSPORT=stdioその後、実行します:
api-debugger-mcpDocker
docker compose up --buildサーバーはポート 8000 で公開されます。
テスト
pytestLint:
ruff check .フォーマット:
ruff format .MCPワークフローの例
MCP互換のエージェントは、次のようにツールを組み合わせて使用できます:
investigate_incident
↓
inspect_endpoint
↓
send_request
↓
detect_api_issue
↓
analyze_error
↓
check_contract
↓
generate_bug_reportリグレッションテストの場合:
send_request (baseline)
↓
send_request (current)
↓
compare_responses
↓
validate_responseセキュリティに関する注意事項
このサーバーは、デフォルトで認証情報の偶発的な漏えいや安全でないネットワークアクセスを防ぐように設計されています。
一般的な認証/クッキー/APIキーのヘッダーは、戻り値からマスキングされます。
一般的なシークレットフィールドは、再帰的にマスキングされます。
ローカル/プライベートIPアドレスへのリクエストは、デフォルトで無効ですか?
実認証情報を含む
.envはコミットしないでください。本番環境では、MCPサーバーを組織の認証およびネットワーク管理の後ろに配置してください。
機余性の高い環境では、上私有者のネットワークへのアクセスを有効にする前に、明示的な許可リストを追加してしてください。
本番運用に向けたロードマップ
OpenAPI 3.xのインポート・エンドポイント発見
OAuth/APIキーのシークレットプロバイダー
永続的リグレッションのベースライン
Sentry/観測性の連携
Jira/GitHub is−の作間
リクースの相関ID
レート制限
監查ログ
RBAC/認証
非同期の並行Hチェック
長時間の調査のためのMCPタスク/バックグランド実行
ライセンス
MIT
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
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to dynamically discover and interact with APIs through Swagger/OpenAPI specifications and Postman collections using a strategic four-tool approach. It streamlines API integration by providing universal tools for endpoint discovery, detailed request information, and authenticated execution.1
- AlicenseAqualityDmaintenanceA comprehensive suite of HTTP and API testing tools that enables AI agents to perform requests, check endpoint health, and decode JWTs. It also provides utilities for URL parsing and detailed security analysis of HTTP response headers.537MIT
- AlicenseAqualityDmaintenanceEnables testing and validation of APIs for AI agent compatibility, providing scores, grades, and actionable recommendations.3MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to perform comprehensive web application testing including visual, functional, performance, accessibility, and SEO analysis using browser automation without requiring API keys.
Related MCP Connectors
See, price, and control every tool call your AI agents make: policy checks, cost, and audit tools.
The WAF for agents. Pattern-based + heuristic firewall scans prompts, RAG documents, tool argume...
Curated knowledge API for AI agents - skill packs, semantic search, validated patterns.
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/MahaR54/API-DEBUGGER-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server