Skip to main content
Glama
MahaR54

API Debugger MCP

by MahaR54

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ツール

  1. inspect_endpoint

  2. send_request

  3. validate_response

  4. compare_responses

  5. analyze_error

  6. detect_api_issue

  7. generate_api_tests

  8. generate_bug_report

  9. check_contract

  10. api_health_check

  11. redact_sensitive_data

  12. investigate_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 .venv

Windows:

.venv\Scripts\activate

macOS/Linux:

source .venv/bin/activate

2. インストール

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-mcp

Docker

docker compose up --build

サーバーはポート 8000 で公開されます。

テスト

pytest

Lint:

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

A
license - permissive license
Not graded
quality - not tested
C
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

  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables 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
  • A
    license
    A
    quality
    D
    maintenance
    A 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.
    5
    37
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to perform comprehensive web application testing including visual, functional, performance, accessibility, and SEO analysis using browser automation without requiring API keys.

View all related MCP servers

Related MCP Connectors

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/MahaR54/API-DEBUGGER-MCP'

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