DocsGPT icon indicating copy to clipboard operation
DocsGPT copied to clipboard

🚀 Feature: CoinGecko MCP connector preset

Open dartpain opened this issue 2 months ago • 8 comments

🔖 Feature description

Add CoinGecko to the Connectors catalog as a remote MCP preset, so agents can answer crypto questions with live data: prices, market caps, volumes, trending coins and price history.

CoinGecko runs an official hosted MCP server at https://mcp.api.coingecko.com/mcp (docs). It needs no sign-in at all, which the preset inclusion rules allow (see the top of docsgpt/connectors/presets/mcp.yaml).

🎤 Why is this feature needed?

"What's the price of ETH?" and "how has SOL done this month?" are some of the most common things people ask an assistant. The cryptoprice tool only covers simple prices. CoinGecko's server covers the whole CoinGecko API with no API key.

✌️ How do you aim to achieve this?

  1. Add an entry to docsgpt/connectors/presets/mcp.yaml, following the existing ones:
    • key: mcp:coingecko, name: CoinGecko, a one-line description
    • icon: coingecko, category: business
    • mcp_url: https://mcp.api.coingecko.com/mcp
    • capabilities: [read]
    • docs_url: https://docs.coingecko.com/docs/mcp-server
  2. Add the icon at frontend/src/assets/connectors/coingecko.svg (CoinGecko's official mark).
  3. Add the description key settings.connectors.descriptions.mcp_coingecko to all seven locale files in frontend/src/locale/ (de en es jp ru zh zh-TW).
  4. Add CoinGecko to the preset lists in docs/content/Sources/Connectors/index.mdx (the "MCP presets" section) and docs/content/Tools/mcp-tools.mdx.
  5. Update tests/connectors/test_catalog.py if it lists or validates the presets.

Notes for CoinGecko:

  • It needs no sign-in.
    • Every existing preset uses auth_kind: mcp_oauth. In frontend/src/connectors/useConnectorLauncher.tsx, entries with auth_kind mcp or mcp_oauth open the MCP server form prefilled from the preset. An entry with auth_kind: none falls through to the generic connector wizard instead.
    • Start with auth_kind: mcp and confirm that connecting saves a working server without asking for anything.
    • The Excalidraw preset (#2914) has the same question. If that one lands first, reuse its approach; if this one lands first, include any small fix (with a test).
  • Tools:
    • search_docs: searches CoinGecko's API docs.
    • execute: runs a short script the model writes against the CoinGecko API.
    • The model usually calls search_docs first. Check in the PR that a normal agent handles this flow (for example "price of BTC and ETH in USD").
  • Rate limits: the keyless server shares rate limits across all users. CoinGecko also runs a keyed server (https://mcp.pro-api.coingecko.com/mcp) for higher limits, but that one is out of scope here.

Other presets are being added in parallel this month and touch the same YAML and locale files, so expect to rebase on main before merge.

Acceptance criteria

  • CoinGecko appears on the Connectors page with its icon and description in every locale.
  • Connecting it needs no sign-in or form input, and the connection then works as an agent tool.
  • Asking an agent "what are BTC and ETH trading at, and how much did they move in the last 24 hours?" returns live numbers.
  • ruff check ., python -m pytest tests/connectors and cd frontend && npm run lint pass. If you change frontend logic, also run npm run build.

🔄️ Additional Information

Please attach a screenshot of the CoinGecko card on the Connectors page and of an agent answering a crypto question with it. UI work follows frontend/DESIGN.md.

dartpain avatar Oct 02 '26 14:10 dartpain

I'd like to take this. I'll add the mcp:coingecko entry to docsgpt/connectors/presets/mcp.yaml with auth_kind: mcp and mcp_url: https://mcp.api.coingecko.com/mcp. I'll also add the icon, the settings.connectors.descriptions.mcp_coingecko key in all seven locale files, and the two docs pages. Then I'll check in useConnectorLauncher.tsx that connecting saves a working server with no input, and test an agent on the BTC/ETH 24h question. I'll also update tests/connectors/test_catalog.py if it validates the presets. Could you assign this to me?

PranavD2905 avatar Oct 02 '26 16:10 PranavD2905

@PranavD2905, you're assigned.

  • Open a PR or post progress here within 14 days; otherwise the issue may be reassigned.
  • Read CONTRIBUTING.md and frontend/DESIGN.md before starting.
  • Include screenshots or a short recording of the UI change in your PR.

Automated triage. A maintainer will follow up.

arc53-machine avatar Oct 02 '26 16:10 arc53-machine

I would like to work on this, if it hasnt been picked yet

nabeel001 avatar Oct 11 '26 06:10 nabeel001

@nabeel001, this is already assigned to @PranavD2905. You'll be next if the assignment becomes available.

Automated triage. A maintainer will follow up.

arc53-machine avatar Oct 11 '26 06:10 arc53-machine

I would like to work on this issue @dartpain

An16og avatar Oct 12 '26 11:10 An16og

@nabeel001, you're assigned as the earliest eligible claimant. @An16og, you'll be next if the assignment becomes available.

  • Open a PR or post progress here within 14 days; otherwise the issue may be reassigned.
  • Read CONTRIBUTING.md and frontend/DESIGN.md before starting.
  • Include screenshots or a short recording of the UI change in your PR.

Automated triage. A maintainer will follow up.

arc53-machine avatar Oct 12 '26 11:10 arc53-machine

@nabeel001, please also add these screenshots to the description of PR #3079 so reviewers can find them alongside the changes.

Automated triage. A maintainer will follow up.

arc53-machine avatar Oct 13 '26 05:10 arc53-machine

@dartpain I have fixed this issue in #3079 Kindly review the same.

nabeel001 avatar Oct 13 '26 05:10 nabeel001