Authentication & Connection Setup
Authenticate an MCP client with Guru using OAuth or an API token.
Connecting an MCP client to Guru takes one of two authentication paths: OAuth for user-facing AI assistants, or an API token for backend scripts and automation.
Option 1: OAuth (recommended)
Best for AI assistants and user-facing integrations such as ChatGPT, Claude, and Cursor.
- Open your AI tool's MCP connection settings.
- Add a new connection with the Guru MCP URL:
https://mcp.api.getguru.com/mcp - Select OAuth and sign in with your Guru credentials.
- Approve the access request.
The client now interacts with Guru using your account's permissions, and Guru appears as a connected service in your AI client's settings.
Option 2: API token
Best for backend scripts and automation systems.
- In Guru, go to Admin > API Tokens and generate a token tied to your user or service account.
- When prompted by your MCP client, provide your user email, the API token, and the MCP URL:
https://mcp.api.getguru.com/mcp
Access control
- The Guru MCP server enforces the same role-based permissions as Guru's web app.
- Each query only returns knowledge that the authenticated user can access.
- All interactions are logged in Guru's AI Agent Center for visibility and governance.
To learn more, see Connecting Guru's MCP Server in the Help Center.
Updated 9 days ago

