Connecting to an MCP Server
To establish an authenticated connection from an MCP Client to an MCP Server, you need to ensure the following:
Get the MCP Server URL
-
In the OCI console, for the selected MCP Server Details page, copy the Server URL.
-
Add this Server URL into your MCP Client when adding the remote server.

Ensure You Are Assigned an Application Role
To access the MCP Server, you must be assigned at least one application role. For more information about application roles, see Role-Based Access Control for MCP Server Tools and Reports.
The assigned application roles are included in the authentication token and are used by the MCP Server to authorize access to Tools and SQL Reports.
Choose an Authentication Method that the MCP Client Supports
-
OAuth Token
Use this option if:
- Your MCP client supports OAuth, or
- You use a local proxy (such as
mcp-remote) to connect from clients that use the stdio transport.
To connect to an MCP Server using OAuth token:
- In your MCP client, select OAuth authentication.
- Sign in when prompted to obtain an OAuth token.
-
Personal Access Token
Use this option if your MCP client supports MCP over HTTP, but does not support OAuth.
You need:
- A domain.
- A user within that domain.
- A Personal Access Token created for that user.
The high-level steps to connect to an MCP server using a Personal Access Token are:
- Confirm your domain and username.
- Create or obtain a Personal Access Token.
- In the MCP client, choose Personal Access Token authentication. Enter the required details and paste the Personal Access Token.
See Tutorial: Set Up a Database Tools MCP Server and Integrate with an MCP Client for a step-by-step process that includes both authentication methods.