docs(mcp): refresh Celo MCP Server page for remote HTTP transport and current tool set - #2288
docs(mcp): refresh Celo MCP Server page for remote HTTP transport and current tool set#2288GigaHierz wants to merge 3 commits into
Conversation
|
The reconciliation itself checks out: I verified the 15-tool list against upstream The PR body says the commands were verified against Worth fixing in the same pass:
Smaller:
|
|
Reproduced the release blocker independently before touching anything — you are right, and the page cannot ship as written.
I have not rewritten the page, because the fix depends on a call that is not mine to make:
I would rather not guess between "documentation for unreleased software, labelled" and "wait" on a page whose job is install instructions. @GigaHierz — which one? The rest of your list is unambiguous and I will apply it in whichever direction is chosen. Flagging two that change what gets written rather than just how:
Also noting your conflict warning: #2287 touches the same list block in |
… current tool set Reconcile the Celo MCP Server page with the upstream celo-org/celo-mcp repository, which has drifted from the docs: - Document the remote Streamable HTTP transport (added upstream), including the HTTP run commands, URL-based client config, and env-var configuration table (MCP_TRANSPORT, HOST/PORT, MCP_ALLOWED_HOSTS, auth token, etc.). - Replace the Available Tools list with the server's actual 15 tools: drop tools no longer registered (get_account, get_token_info, both NFT tools, both contract tools, estimate_transaction) and add the missing balances/staking/validator tools (get_stable_token_balance, get_staking_balances, get_activatable_stakes, get_total_staking_info, get_validator_groups, get_validator_group_details). - Correct Key Features and the intro to match read-only capabilities (remove NFT/smart-contract/simulation claims that no longer apply). - Update the run command to the current entry point (celo-mcp-server) and the Code Quality section to ruff (replacing isort/flake8). - Refresh the summary bullet on the MCP index page. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Match the four local examples so readers see one server key throughout. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
celo-mcp 0.4.1 is on PyPI (2026-08-31) with the `celo-mcp-server` entry point and starlette/uvicorn, so the HTTP transport this page documents is now installable. Verified against the published wheel rather than upstream main. Corrections, each checked against 0.4.1: - The RPC endpoint is not configurable. `CELO_RPC_URL` and `CELO_TESTNET_RPC_URL` are read by nothing; settings use a `CELO_MCP_` prefix, and even those never arrive, because BlockchainDataService constructs `CeloClient()` with no arguments. The server always uses forno mainnet. The page said the opposite and offered a testnet variable whose Alfajores default no longer resolves. - `get_validator_groups` is paginated with `page_size` defaulting to 10. Read as "all validator groups", an assistant using this page as tool documentation reports the first 10 as the complete set. - `get_celo_balances` and `get_stable_token_balance` read as duplicates. The first covers CELO plus the core Mento stablecoins; the second multicalls the wider registry. The USDm/EURm/BRLm note is back, since this page is where the symbols first appear. - The remote client config omitted `"type": "http"`, which Claude Code reads as a stdio server and skips, and used `mcpServers` for VS Code, which wants `servers`. Both are now per-client tabs, matching use-docs-with-ai. - The VS Code stdio section pointed at `~/.vscode/mcp.json`, which VS Code does not read. - `MCP_TRUST_PROXY` was missing. Without it, rate limiting behind a load balancer keys on the proxy IP and every client shares one bucket. - `MCP_AUTH_TOKEN` had no client half; the bearer header is now shown. - The quickstart bound 127.0.0.1 with localhost-only allowed hosts, so a remote client hits connection refused and then HTTP 421 with nothing mapping those symptoms to HOST and MCP_ALLOWED_HOSTS. Now a Warning that names both. - The NFT claim on the use-docs-with-ai card was wrong: the server registers 15 tools and none of them are NFT tools, despite the module existing. Structure: the remote section is server operation, so it is its own H2 rather than a subsection of client integration, and the run command appears once instead of three times. Headings are sentence case, the changelog aside is gone, and the page gains Resources and Related sections — it previously had no internal links at all. Verified: mintlify broken-links green. Tool list diffed against `grep -oE 'name="[a-z_]+"' celo_mcp/server.py` in the 0.4.1 wheel: 15, exact match. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
58eddf6 to
34dcd64
Compare
|
Unblocked — 0.4.1 is on PyPI and the page is rewritten against the published wheel, not upstream main. Every run command on the page now works from On the RPC variables — you were right, and it is worse than "nothing reads these". I traced it rather than just deleting the section: So Tool list. Diffed rather than re-read: Exact match with the page. This also settles your card point: The rest as you listed: Structure: remote is its own H2 (it is server operation, not client integration), the run command appears once instead of three times, headings are sentence case, the changelog aside is gone, and the page has Resources and Related — it had no internal links at all before. Rebased on main, so the #2287 conflict in |
What & why
The Celo MCP Server page had drifted from the upstream
celo-org/celo-mcprepo. Two upstream changes in particular were not reflected in the docs:This is a separate change from #2287 (which adds the third-party Celina pages and only cross-links this page).
Changes
MCP_TRANSPORT,HOST/PORT,MCP_ALLOWED_HOSTS,MCP_CORS_ORIGINS, rate limiting,MCP_AUTH_TOKEN) plus the/healthnote.get_account,get_token_info,get_nft_info,get_nft_balance,call_contract_function,estimate_contract_gas,estimate_transaction.get_stable_token_balance,get_staking_balances,get_activatable_stakes,get_total_staking_info,get_validator_groups,get_validator_group_details.celo-mcp-server; Code Quality section updated toruff(wasisort/flake8).Verification
celo-org/celo-mcpmain(src/celo_mcp/server.py,pyproject.toml,README.md).mint broken-linkspasses on this branch head.🤖 Generated with Claude Code