DocsGPT icon indicating copy to clipboard operation
DocsGPT copied to clipboard

🚀 Feature: Neon MCP connector preset

Open dartpain opened this issue 2 months ago • 2 comments

🔖 Feature description

Add Neon to the Connectors catalog as a remote MCP preset, so agents can work with a user's Neon Postgres projects (list projects and branches, describe schemas, run SQL, create branches) after one OAuth sign-in.

Neon runs a hosted MCP server at https://mcp.neon.tech/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?

Developers on Neon want to ask "what tables are in this branch?" or "how many orders came in yesterday?" without opening a SQL client. Today they would have to set it up as a custom MCP server by hand.

✌️ How do you aim to achieve this?

This is a small, self-contained change. No Python code is needed beyond the catalog entry:

  1. Add an entry to docsgpt/connectors/presets/mcp.yaml, following the existing ones (e.g. Sentry or Stripe):
    • key: mcp:neon, name: Neon, a one-line description
    • icon: neon, category: database
    • mcp_url: https://mcp.neon.tech/mcp, auth_kind: mcp_oauth
    • capabilities: [read], or [read, write] if the server exposes tools that change things
    • docs_url: https://neon.com/docs/ai/neon-mcp-server
  2. Add the icon at frontend/src/assets/connectors/neon.svg (use Neon's official brand mark).
  3. Add the description key settings.connectors.descriptions.mcp_neon to all seven locale files in frontend/src/locale/ (de en es jp ru zh zh-TW).
  4. Add Neon to the preset lists in docs/content/Sources/Connectors/index.mdx (the "MCP presets" section) and docs/content/Tools/mcp-tools.mdx.
  5. 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 Neon:

  • Neon recommends the MCP server for development and testing rather than production databases. It supports ?readonly=true and ?projectId= query parameters. Use the plain URL in the preset and mention the read-only option in the PR.
  • The free plan is enough to test.

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

  • Neon appears on the Connectors page with its icon and description in every locale.
  • Connecting it opens Neon's OAuth sign-in, and the connection then works as an agent tool.
  • ruff check ., python -m pytest tests/connectors and cd frontend && npm run lint pass.

🔄️ Additional Information

Please attach a screenshot of the Neon card on the Connectors page and of an agent using one of its tools. UI work follows frontend/DESIGN.md. Vercel (#2874) is a similar issue, so it's a useful reference.

dartpain avatar Oct 02 '26 14:10 dartpain

I would like to take this issue. Can you please assign me?

SUJALSPATEL avatar Oct 02 '26 14:10 SUJALSPATEL

@SUJALSPATEL, you're assigned.

  • Open a PR or post a progress update 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 Neon connector card and an agent using its tools in your PR.

Automated triage. A maintainer will follow up.

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