Skip to content

Introduction to MCP

The Discover MCP server is a remote Model Context Protocol service. It lets AI coding clients — Claude Code, VS Code, Cursor, Kiro, Windsurf, claude.ai — query your Discover knowledge bases (JIRA, Confluence, Codebase, Database, API, Documents etc) over a single HTTPS endpoint.

Your assistant gets the same grounded, citation-bearing retrieval that Discover agents use, without leaving your editor.

Endpointhttps://<your-discover-host>/mcp
TransportStreamable HTTP (stateless, JSON responses)
AuthOAuth 2.1 — Dynamic Client Registration + PKCE + loopback redirect
Scopesmcp:tools offline_access

The server is an OAuth 2.1 resource server. You never paste an API key. On first connect your client:

  1. Hits /mcp and gets a 401 pointing at the Protected Resource Metadata.
  2. Discovers the authorization server and registers itself dynamically (DCR).
  3. Opens your browser to the login page.
  4. You sign in — via your organisation’s SSO, or a username and password if your identity provider issues one.
  5. The browser redirects to a local localhost:<port>/callback. Your client stores the access token plus a refresh token (from offline_access).

Tokens refresh automatically, so you log in once. All you need is an account in your deployment’s identity realm — there are no per-client secrets.


ModeWhen to use it
Native remote HTTP + OAuthClaude Code, VS Code 1.102+, recent Cursor. Give the client the URL and it handles the rest.
mcp-remote bridgeAny stdio-only client, or one without built-in OAuth. A small local proxy (npx mcp-remote) runs the OAuth flow and bridges stdio ↔ HTTP. Universal fallback.

→ Setup for each client: Connecting a Client

Once connected, call health to see the tool surface your deployment exposes.