Skip to main content
Glama
godzeo
by godzeo

MCP HTTP 요청

API 테스트, 웹 자동화 및 보안 테스트를 위한 포괄적인 HTTP 클라이언트 MCP(Model Context Protocol) 서버입니다. 상세한 로깅 기능을 갖춘 모든 기능을 갖춘 HTTP 도구를 제공합니다.

기능

  • 완벽한 HTTP 메서드 지원: GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS

  • 고급 보안 테스트: 모의 해킹, SQL 인젝션, XSS 테스트를 위한 원시(Raw) 요청 도구

  • 전체 매개변수 지원: 모든 메서드에 대해 Headers, Cookies, Body, 타임아웃 설정 지원

  • 자동 로깅: 모든 요청과 응답은 ~/mcp_requests_logs/에 자동으로 기록됨

  • 정밀도 보장: 원시(Raw) 모드는 모든 문자를 정확하게 보존

  • MCP 호환: Claude Code, Cursor 및 기타 MCP 클라이언트와 호환

Related MCP server: MCP Everything

설치

pip install mcp-request

사용 방법

Cursor/Claude Code에서 사용

MCP 구성 파일(~/.cursor/mcp_servers.json 또는 유사 파일)에 추가하세요:

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

사용 가능한 도구

  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 요청

사용 예시

# 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"}
)

보안 테스트 기능

http_raw_request 도구는 보안 테스트를 위해 특별히 설계되었습니다:

  • 절대적 정밀도: 모든 문자를 정확하게 보존

  • 인코딩 없음: 특수 문자(', ", , %, &, =)를 그대로 전송

  • 완벽한 헤더: 긴 쿠키나 토큰을 잘라내지 않음

  • 원시 페이로드: SQL 인젝션, XSS, CSRF 테스트에 최적

로깅

모든 HTTP 요청과 응답은 다음 위치에 자동으로 기록됩니다:

  • 위치: ~/mcp_requests_logs/

  • 형식: 타임스탬프와 전체 요청/응답 세부 정보가 포함된 JSON 형식

  • 파일명: requests_YYYYMMDD_HHMMSS.log

로그 확인 방법:

tail -f ~/mcp_requests_logs/requests_*.log

시스템 요구 사항

  • Python ≥ 3.13

  • httpx ≥ 0.25.0

  • mcp[cli] ≥ 1.9.4

라이선스

MIT 라이선스

기여

기여를 환영합니다! 이 도구는 방어적 보안 테스트 및 합법적인 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