Skip to main content
Glama
godzeo
by godzeo

MCP HTTP Requests / MCP HTTP リクエストツール

A comprehensive HTTP client MCP (Model Context Protocol) server for API testing, web automation and security testing. Provides full-featured HTTP tools with detailed logging capabilities.

APIテスト、Web自動化、およびセキュリティテスト用に設計されたフル機能のHTTPクライアントMCPサーバー。完全なHTTPツールと詳細なログ記録機能を備えています。

Features / 特徴

  • Complete HTTP Methods Support / 完全なHTTPメソッドサポート: GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS

  • Advanced Security Testing / 高度なセキュリティテスト: ペネトレーションテスト、SQLインジェクション、XSSテスト用のRawリクエストツール

  • Full Parameter Support / 全パラメータサポート: すべてのメソッドでHeaders、Cookies、Body、タイムアウトをサポート

  • Automatic Logging / 自動ログ記録: すべてのリクエストとレスポンスを ~/mcp_requests_logs/ に自動記録

  • Precision Guarantee / 精度の保証: Rawモードではすべての文字が正確に保持されます

  • MCP Compatible / MCP互換: Claude Code、Cursor、その他のMCPクライアントで動作

Related MCP server: MCP Everything

Installation / インストール

pip install mcp-request

Usage / 使用方法

With Cursor/Claude Code / Cursor/Claude Codeでの使用

Add to your MCP configuration (~/.cursor/mcp_servers.json or similar):

MCP設定ファイル (~/.cursor/mcp_servers.json など) に追加します:

{
  "mcpServers": {
    "mcp-request": {
      "command": "mcp-request",
      "type": "stdio"
    }
  }
}

Available Tools / 利用可能なツール

  1. http_get - フル機能のGETリクエスト

  2. http_post - フル機能のPOSTリクエスト

  3. http_put - フル機能のPUTリクエスト

  4. http_delete - フル機能のDELETEリクエスト

  5. http_patch - フル機能のPATCHリクエスト

  6. http_head - フル機能のHEADリクエスト

  7. http_options - フル機能のOPTIONSリクエスト

  8. http_raw_request - 🔒 セキュリティテスト用のRaw HTTPリクエスト

Example Usage / 使用例

# Basic GET request / 基础 GET 请求
http_get("https://api.example.com/users")

# POST with data and headers / 带数据和请求头的 POST 请求
http_post(
    url="https://api.example.com/login",
    body='{"username":"test","password":"test"}',
    headers={"Content-Type": "application/json"}
)

# Security testing with raw request / 使用原始请求进行安全测试
http_raw_request(
    url="https://vulnerable-site.com/search",
    method="POST", 
    raw_body="q=test' OR 1=1--",
    headers={"Content-Type": "application/x-www-form-urlencoded"}
)

Security Testing Features / セキュリティテスト機能

The http_raw_request tool is specifically designed for security testing:

http_raw_request ツールはセキュリティテスト専用に設計されています:

  • Absolute Precision / 絶対的な精度: すべての文字が正確に保持されます

  • No Encoding / エンコードなし: 特殊文字 (', ", , %, &, =) がそのまま送信されます

  • Complete Headers / 完全なヘッダー: 長いCookieやトークンも切り捨てられません

  • Raw Payloads / Rawペイロード: SQLインジェクション、XSS、CSRFテストに最適

Logging / ログ記録

All HTTP requests and responses are automatically logged to:

すべてのHTTPリクエストとレスポンスは以下に自動的に記録されます:

  • Location / 場所: ~/mcp_requests_logs/

  • Format / 形式: タイムスタンプと完全なリクエスト/レスポンス詳細を含むJSON形式

  • Filename / ファイル名: requests_YYYYMMDD_HHMMSS.log

View logs with / ログの表示:

tail -f ~/mcp_requests_logs/requests_*.log

Requirements / システム要件

  • Python ≥ 3.13

  • httpx ≥ 0.25.0

  • mcp[cli] ≥ 1.9.4

License / ライセンス

MIT License

Contributing / 貢献

Contributions welcome! This tool is designed for defensive security testing and legitimate API testing purposes only.

貢献を歓迎します!このツールは、防御的なセキュリティテストおよび正当なAPIテスト目的でのみ設計されています。

Install Server
A
license - permissive license
A
quality
C
maintenance

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

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/godzeo/mcp-request'

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