telegraph-protocol-mcp

v2.3.0
@telegraphprotocol/telegraph-protocol-mcp Checked 23 hours ago Published 9 days ago

MCP server for the Telegraph network: ask ranked miners (prices, FX, weather, search, security, code review and 100+ intents), browse intents, miners and…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

telegraph_ask Ask Telegraph

Ask the Telegraph network a question: live prices, FX, weather, web and academic search, security, code review, compliance and 100+ other intents. The node routes it to the best-ranked live miner and returns its answer in the intent's fields. When that answer misses part of the question, the next ranked miners are asked for the rest, within a budget (TELEGRAPH_MAX_BUDGET_USDC). Each miner whose answer is used costs its price, about $0.01, paid automatically from the Telegraph escrow balance (a failed ask is never billed; repeating the same ask within a minute is not paid twice). fulfillment sa…

ParameterTypeDescription
intentstringOptional exact intent, e.g. CRYPTO_PRICE_USD (see telegraph_find_intents). Only that intent's miners answer.
paramsobjectOptional params for the intent, as telegraph_intent lists them, e.g. {"location": "Lahore"}. Needs intent.
questionstringThe question, in plain words.

telegraph_ask_miner Miner call

Ask one specific miner (by id or slug from telegraph_find_miners) instead of letting the node pick. Send a question (with intent when the miner serves several), or call one of its endpoints directly with endpoint, method and payload (the raw answer comes back). No fallback miner is tried. Paid at that miner's price, like telegraph_ask.

ParameterTypeDescription
miner *stringMiner id or slug.
endpointstringDirect call: the miner's endpoint path, e.g. /query (telegraph_find_miners lists them).
intentstringOptional exact intent, e.g. CRYPTO_PRICE_USD (see telegraph_find_intents). Only that intent's miners answer.
methodstringDirect call: HTTP method (default GET).
paramsobjectOptional params for the intent, as telegraph_intent lists them, e.g. {"location": "Lahore"}. Needs intent.
payloadobjectDirect call: the body or query fields the endpoint takes.
questionstringThe question, in plain words.

telegraph_find_intents Find intents

Search the intents (kinds of question) the network answers, with how many miners serve each. Free. Without search, lists every intent name.

ParameterTypeDescription
limitintegerMost results to return (default 10).
searchstringWords to look for, e.g. 'weather', 'bitcoin price', 'code review'.

telegraph_intent Intent details

One intent: its kind (deterministic, hybrid or judgment), the params an ask can send, the fields the answer comes back in, and its top-ranked miners. Free.

ParameterTypeDescription
intent *stringIntent name, e.g. WEATHER_CHECK_TEMPERATURE.

telegraph_find_miners Find miners

Miners for an intent, best-ranked first, with status, price and rank; or miners whose name or description match some words. Free.

ParameterTypeDescription
intentstringIntent name; lists that intent's miners with their rank.
limitintegerMost miners to return (default 20).
searchstringWords every listed miner must match (slug, name, description).

telegraph_ranking Miner ranking

The latest epoch's miner ranking (scores from the network's own checks), for one intent or the top few of every intent. Asks go to the top live miner. Free.

ParameterTypeDescription
intentstringIntent name. Empty: every ranked intent.
limitintegerMiners per intent (default 10 for one intent, 3 for all).

telegraph_account Account

This server's wallet (or any address): its address and network, wallet USDC and ETH, the Telegraph escrow balance that pays for asks (spendable, deposited, not yet charged, pending withdrawal), the spending limits, and how to top up. Free.

ParameterTypeDescription
addressstringAddress to look up. Default: this server's wallet.

telegraph_docs Telegraph docs

How Telegraph works: getting started, payments, intents and ranking, errors. Free.

ParameterTypeDescription
searchstringWords to look up across the docs.
topicstringA topic to read in full.