Blockscout MCP

direct_api_call

Call a raw Blockscout API endpoint for advanced or chain-specific data. Do not include query strings in ``endpoint_path``; pass all query parameters via ``query_params`` to avoid double-encoding. **SUPPORTS PAGINATION**: If response includes 'pagination' field, use the provided next_call to get additional pages. Returns: ToolResponse[Any]: Must return ToolResponse[Any] (not ToolResponse[BaseModel]) because specialized handlers can return lists or other types that don't inherit from BaseModel. The dispatcher system supports flexible data structures.

Remote blockscout/mcp-server

Other tools also called direct_api_call? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cursor",
      "default": null,
      "description": "The pagination cursor from a previous response to get the next page of results."
    },
    "chain_id": {
      "type": "string",
      "title": "Chain Id",
      "description": "The ID of the blockchain"
    },
    "query_params": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true
        },
        {
          "type": "null"
        }
      ],
      "title": "Query Params",
      "default": null,
      "description": "Optional query parameters forwarded to the Blockscout API."
    },
    "endpoint_path": {
      "type": "string",
      "title": "Endpoint Path",
      "description": "The Blockscout API path to call (e.g., '/api/v2/stats'); do not include query strings."
    }
  }
}