MantraChain MCP Server

by allthatjazzleo
Verified

query-network

Execute custom network queries against chain APIs using gRPC Gateway when standard tools fail. Verify available queries via OpenAPI specification before sending requests with specified HTTP methods, paths, and parameters.

Instructions

Execute a generic network gRPC Gateway query against chain APIs when you cannot find the required information from other tools. You MUST first check the available query/service by reading the openapi specification from the resource openapi://{networkName} to understand available query/service, methods, required parameters and body structure.

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body for POST/PUT requests
methodYesHTTP method to use for the request
networkNameYesName of the network to use - must first check what networks are available through the mantrachain-mcp server by accessing the networks resource `networks://all` before you pass this arguments
pathYesAPI endpoint path from the OpenAPI spec, e.g., '/cosmos/bank/v1beta1/balances/{address}'
pathParamsNoPath parameters to substitute in the URL path
queryParamsNoQuery parameters to add to the request

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "body": { "description": "Request body for POST/PUT requests" }, "method": { "description": "HTTP method to use for the request", "enum": [ "GET", "POST", "PUT", "DELETE" ], "type": "string" }, "networkName": { "description": "Name of the network to use - must first check what networks are available through the mantrachain-mcp server by accessing the networks resource `networks://all` before you pass this arguments", "type": "string" }, "path": { "description": "API endpoint path from the OpenAPI spec, e.g., '/cosmos/bank/v1beta1/balances/{address}'", "type": "string" }, "pathParams": { "additionalProperties": { "type": "string" }, "description": "Path parameters to substitute in the URL path", "type": "object" }, "queryParams": { "additionalProperties": { "type": "string" }, "description": "Query parameters to add to the request", "type": "object" } }, "required": [ "networkName", "path", "method" ], "type": "object" }
ID: p4x6v48lbj