Ontology MCP (OMCP) is built on top of the OAuth 2.0 configuration of the Developer Console application that exposes it. When an MCP client connects to your Ontology MCP server, it authenticates using the same OAuth 2.0 client and authorization server that handle all other requests to your application; there is no separate authentication system to configure for MCP.
The application restrictions, permissions, and OAuth client settings you have already defined for your Developer Console application also apply to requests made through Ontology MCP. Tokens issued for MCP access are scoped to the operations and resources you have granted to the application.
Ontology MCP supports the two OAuth 2.0 grant types that Foundry exposes for third-party applications. Choose the grant type that matches how your MCP client will act on behalf of users:
You can enable one or both grant types on the same Developer Console application, depending on the MCP clients you intend to support. Configure the redirect URLs, scopes, and client secrets for each grant type from the OAuth & Permissions page of your application in Developer Console.
For a full description of the OAuth 2.0 flows, endpoints, and parameters that Foundry supports, see Writing OAuth2 clients for Foundry.
Access tokens issued to MCP clients are restricted by the scopes configured on your Developer Console application. Make sure that the application is granted the operations required by the ontology resources that you expose through MCP, and that the requesting user or service user has the necessary permissions on the underlying objects, actions, and queries.