🚀 Feature: Twelve Data MCP connector preset
🔖 Feature description
Add Twelve Data to the Connectors catalog as a remote MCP preset, so agents can answer market questions with live data after one OAuth sign-in. That covers quotes and price history for stocks in 90+ countries, forex, crypto, ETFs and funds, technical indicators, and fundamentals.
Twelve Data runs a hosted MCP server at https://mcp.twelvedata.com/mcp. It answers an unauthenticated request with a 401 that points to OAuth metadata, and its authorization server supports dynamic client registration, which is exactly what the preset list requires (see the inclusion rules at the top of docsgpt/connectors/presets/mcp.yaml). Users don't need to register an app or paste an API key.
🎤 Why is this feature needed?
People ask agents things like "how did NVDA do this week?", "compare the 1-year performance of AAPL and MSFT" or "what's the RSI on EUR/USD?". DocsGPT has no market-data connector today. Twelve Data has a free plan and global coverage, so it's a good default.
✌️ How do you aim to achieve this?
This is a small, self-contained change. No Python code is needed beyond the catalog entry:
- Add an entry to
docsgpt/connectors/presets/mcp.yaml, following the existing ones (e.g. Sentry or Stripe):key: mcp:twelvedata,name: Twelve Data, a one-linedescriptionicon: twelvedata,category: businessmcp_url: https://mcp.twelvedata.com/mcp,auth_kind: mcp_oauthcapabilities: most likely[read]; confirm withtools/listdocs_url: https://twelvedata.com/docs/mcp
- Add the icon at
frontend/src/assets/connectors/twelvedata.svg(use Twelve Data's official brand mark). - Add the description key
settings.connectors.descriptions.mcp_twelvedatato all seven locale files infrontend/src/locale/(de en es jp ru zh zh-TW). - Add Twelve Data to the preset lists in
docs/content/Sources/Connectors/index.mdx(the "MCP presets" section) anddocs/content/Tools/mcp-tools.mdx. - If a test lists or validates the presets (see
tests/connectors/test_catalog.py), update it.
Before choosing capabilities, sign in once and look at the server's tools/list to see which tools read and which ones write.
Notes for Twelve Data:
- Sign-in: the hosted server only accepts OAuth sign-in, not API keys.
- Free plan limits: the free Basic plan is enough to test, with 800 API credits a day and 8 a minute. Some fundamentals endpoints may need a paid plan; note in the PR which tools worked on the free plan.
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
- Twelve Data appears on the Connectors page with its icon and description in every locale.
- Connecting it opens Twelve Data's OAuth sign-in, and the connection then works as an agent tool. For example, "what was AAPL's closing price yesterday?" returns real data.
ruff check .,python -m pytest tests/connectorsandcd frontend && npm run lintpass.
🔄️ Additional Information
Please attach a screenshot of the Twelve Data card on the Connectors page and of an agent answering a market question with it. UI work follows frontend/DESIGN.md. Vercel (#2874) is a similar issue, so it's a useful reference.
Hi, could you please assign this issue to me? I can work on it. Thanks!
@Soumava-221B, you are assigned.
- Open a PR or post progress here within 14 days; otherwise, the issue may be made available to others.
- Read
CONTRIBUTING.mdandfrontend/DESIGN.mdbefore starting. - Include a screenshot or short recording of the change in your PR.
Automated triage. A maintainer will follow up.
dear maintenaner if this issue is available to work on, i would like to get it assigned.
Hi @bhushan4work i am working on this, will push a PR today