Pyth Pro
Pyth hosts this MCP server at https://mcp.pyth.network/mcp over streamable HTTP. It is the Pyth Pro card with the Official badge. The URL is already filled in. The hosted server has no key of its own. Connecting and listing tools need no key. See Build with AI Agents.
Latest price, historical price, a short price range, and candlesticks need a Pyth Pro API key, sent as Authorization: Bearer <key>. Listing feeds and converting a date work without one. With a key, the feed list also includes feeds visible only to Pro keys and marks whether that key can query each feed.
Get an API key
Sign up for a free Pyth Terminal account. After you sign in, click View your API key. A trial key needs no credit card. Upgrading the plan adds feeds. See Acquire an API Key and Pyth Terminal.
Connect in Willow
The Official card declares no authentication. After you add it, the Setup tab offers None and has no API key field. Leave authentication on None, store the key in the vault, and send it from the MCP configuration. Willow fills vault references on every call. Everyone who uses this server calls Pyth as that one key.
-
Go to MCP Servers → + Add MCP server, open the Pyth Pro card with the Official badge, and click + Use.
-
Leave the URL as
https://mcp.pyth.network/mcpand leave authentication on None. -
Store the key in the Vault. Open Settings, expand Security Settings, select Manage on the Vault card, and click Add Secret. Name it
PYTH_PRO_API_KEYand paste the key as the value. -
On the server's Settings tab, under MCP Configuration, add the header and leave
urlas the card filled it in. Insert Secret places the vault placeholder. Select Save Changes.{"url": "https://mcp.pyth.network/mcp","headers": {"Authorization": "Bearer {{vault.PYTH_PRO_API_KEY}}"}} -
Assign groups and Publish.
Troubleshooting
"This tool requires your Pyth Pro access token"
No key reached the server. Add the Authorization header in Connect in Willow, save, and publish again.
The server rejects the key (HTTP 401)
The header has to be Bearer, a space, then the key. Copy the key again from Pyth Terminal.
Not entitled to a feed (HTTP 403)
The key is valid, and the plan does not include that feed. The error names the entitlement group it needs. List feeds with the key and use one this key can query.