Skip to main content
Glama
ElonJask

ProxyPin MCP Server

by ElonJask

list_requests

Retrieve and analyze captured HTTP traffic from ProxyPin to inspect recent requests, filter by domain, method, or status, and support API analysis.

Instructions

List recent HTTP requests captured by ProxyPin.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
detailNosummary
domainNo
methodNo
statusNo

Implementation Reference

  • The 'list_requests' tool is defined here as an MCP tool handler using the FastMCP decorator. It performs input validation, fetches requests from the reader, and formats the output as JSON.
    @mcp.tool()
    def list_requests(
        limit: int = 20,
        detail: str = "summary",
        domain: str | None = None,
        method: str | None = None,
        status: int | None = None,
    ) -> str:
        """List recent HTTP requests captured by ProxyPin."""
        normalized_limit = _bounded_limit(limit, default=20, maximum=100)
        normalized_detail = detail.lower().strip()
        detail_level = (
            DetailLevel(normalized_detail)
            if normalized_detail in VALID_DETAILS
            else DetailLevel.SUMMARY
        )
    
        requests = reader.get_requests(
            limit=normalized_limit,
            detail_level=detail_level,
            domain=domain,
            method=method,
            status_code=status,
        )
        return _json_response([request.model_dump() for request in requests])

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/ElonJask/proxypin-mcp'

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