---
id: setup-integration-via-mcp
title: Set Up an Integration via MCP
sidebar_label: Set up an Integration via MCP
description: Learn how to set up an integration that connects your own MCP server to Sumo Logic, choose an authentication method, and manage its connections.
slug: /help/docs/integrations/outbound/integrations-via-mcp-server/setup-integration-via-mcp/
canonical: https://www.sumologic.com/help/docs/integrations/outbound/integrations-via-mcp-server/setup-integration-via-mcp/
---
import useBaseUrl from '@docusaurus/useBaseUrl';
MCP servers are published by the vendor and offer their tools using MCP. You connect Sumo Logic to the server, and the tools it offers become available automatically, with no new connector to wait for. You can use integrations via the MCP server with DojoAI agents.
## Prerequisites
Ensure you have the following permissions enabled:
- The **Manage Integrations** permission to add a server or connection, make a connection the default, disconnect, delete, set up an integration resource, and control who can use a connection. It also lets you view and install integrations.
- The **View Integrations** permission lets you view integrations and connect your own account (per-user OAuth).
- MCP servers must be enabled for your organization.
- An account at the vendor that can create the credentials you need, such as a token, an API key, or an OAuth app.
## Open the Integrations tab
1. [**New UI**](/docs/get-started/sumo-logic-ui). In the main Sumo Logic menu, select **App Catalog**, then select the **Integrations** tab.
1. **Outbound Integrations** is selected by default.
1. To narrow the list, select the **MCP Server** checkbox, **Status**, or **Certification Type** filters.
## Server states
A server page looks different depending on whether the server is **Connected**, **Not connected**, or not set up yet (no status label).
## Connect a server that is not set up
Follow the steps below to connect a server that is not set up yet:
1. On the **Integrations** tab, select the vendor's card that has no status label.
1. Click **Connect**. The configuration panel opens.
1. Enter a **Connection Name**.
1. Under **Authentication configuration**, select the **Authentication method** for the required vendor. For more information, see [Authentication methods](#authentication-methods).
1. Click **Connect**.
## Connect a server that is not connected
Follow the steps below to connect a server that is not connected:
1. On the **Integrations** tab, select the vendor's card that has a **Not Connected** label.
1. You can choose one of the following methods in the **Connections** tab:
- To add a connection that uses a different method, click **+ Add Connection**. The vendor MCP panel opens. See the [vendor-specific documentation pages](/docs/integrations/outbound/integrations-via-mcp-server/) for instructions on configuring this step.
- To connect a disconnected server, click **Connect** in any row with the **Not Connected** status. You are redirected to the vendor platform to sign in and authorize access.
In the **Connections** tab, you can also select a row to open its details panel, then click **Connect** to connect a disconnected MCP.
## Manage an MCP
### Connections overview
- **Search Connections**. Filters the list by name.
- **Add Connection**. Opens the vendor MCP panel.
- **Name**. The connection name. The default connection shows a **Default** tag.
- **Type**. The authentication method, for example `Personal Access Token` or `OAuth (Per-User)`.
- **Status**. The status of the connection. For example, `Connected` or `Not Connected`.
- **Tools**. The number of tools the connection provides.
- **Delete MCP**. Deletes the MCP.
- **Disconnect**. Disconnects your account from the MCP. This option is available only for integrations using OAuth 2.0 (Authorization Code) - Per User authentication.
Click any connection row to open its panel for a detailed view and a list of tool names. Tools that only read data show a Read-only label.
#### More actions
- **Manage access**. Users with **Manage Integrations** permission can, by default, access this connection. You can choose which roles and users may run tools through each connection.
1. Click **Manage access**. The Manage Access dialog opens.
1. Click **Users and Roles**. The list shows roles. To find a person, type part of their name. Matching users appear under User.
1. Select each role or user to add it.
1. Click **Save**.
The users and roles you add appear under **People with access**.
:::note
A connection with no access granted can be used only by users with the **Manage Integrations** permission. You need that permission to change access. You can set up access before you enable a server.
:::
- **Make default**. Makes this connection the default and replaces the current default. The first connection you add is the default.
- **Delete**. Deletes the connection. Review the confirmation message and click **Delete** to confirm the deletion.
- Deleting a connection removes the stored authorizations of its users. For per-user OAuth, the authorization of every user is revoked.
- If the connection was the default, the oldest remaining connection becomes the default.
- You can delete the last connection. Doing so also deletes the server.
- **Disconnect**. Revokes your token and removes only your own authorization to the MCP server, so you lose access to its tools. This option is available only for integrations using OAuth 2.0 (Authorization Code) - Per User authentication. Other users and their connections remain unaffected. You can reconnect by authenticating at the vendor again.
## Add a custom MCP server
You can add a custom MCP server of your own. A custom server's URL must be a public HTTPS address.
Use this for a server that is not in the catalog, such as one your own team runs.
1. [**New UI**](/docs/get-started/sumo-logic-ui). To access the integrations, in the main Sumo Logic menu, select **App Catalog > Integrations > Outbound Integrations**.
1. Click the **+ Add Custom** dropdown and then select **MCP Server**. The **Add Custom MCP Server** form opens.
1. **Name**. Enter a name for the server. Each server name must be unique in your organization.
1. **MCP Server URL**. Enter the MCP Server URL, for example `https://mcp.example.com/mcp`. The URL must be an HTTPS address that Sumo Logic can reach over the internet. Addresses on private networks are rejected.
1. **Connection Name**. Enter a name for this connection, for example `Production`. A server can have several connections.
1. Under **Authentication configuration**, choose an **Authentication method** and complete the fields that appear. See [Authentication methods](#authentication-methods).
1. Click **Connect**.
:::tip
Sumo Logic connects to the server to check the details. If it cannot connect, you will see an error and nothing is saved. Check the credentials and try again.
:::
## Authentication methods
Choose the authentication methods supported by the vendor and your organization's security requirements.
:::note
Credentials are stored encrypted and are never shown again. These methods have no automatic renewal, so you need to replace a credential before it expires. To change a credential, add a new connection with the new value, make it the default if needed, and delete the old one.
:::
The following table describes each method, when to use it, and how authentication works.
| Method | Description | Best for | Who is signed in |
|:--|:--|:--|:--|
| OAuth 2.0 (default on the custom panel) | Authenticate using the OAuth 2.0 protocol. | Per-user access (Authorization code) or background automation (Client Credentials). | Each user, or the app itself. [Learn more](#oauth-20) |
| Bearer Token | Static token shared across all users. | Personal access tokens and service tokens. | One shared identity. [Learn more](#bearer-token) |
| Basic Auth | Username and password or API token. | A username with a password or API token. | One shared identity. [Learn more](#basic-auth) |
| API Key | Custom header with an API key value. | Vendors that read a key from a custom header. | One shared identity. [Learn more](#api-key) |
:::info
- With **API Key**, **Bearer token**, **Basic auth**, and **OAuth 2.0 (Client Credentials)**, all users who can access the connection share the same vendor-side identity and permissions. Choose an account with only the permissions required for the integration.
- Use **OAuth 2.0 (Authorization code)** when you want each user's individual vendor permissions and access restrictions to apply.
:::
### OAuth 2.0
Under **Configuration type**, select one of the following OAuth 2.0 authentication methods:
#### Method 1: Discovery
This method auto-detects OAuth endpoints from the server.
1. Enter your **Server URL**.
1. Click **Discover**. If you leave **Server URL** empty, Sumo Logic discovers the endpoints from the MCP Server URL.
#### Method 2: Manual
Enter the OAuth endpoints yourself. Use this method if discovery fails or finds nothing usable.
1. Enter the **Authorization URL**, **Token URL**, and (optional) **Revocation URL** from the vendor's platform.
1. Under **Grant Type**, select one of the following options:
- **Client Credentials**. Use server-to-server authentication for AI agents and background automation that access MCP servers without user context. All users who access the connection share the application's identity.
- **Authorization code**. Use per-user authentication when actions need to run with each user's own permissions. Each user must authorize access using their vendor account after the connection is saved. For more information, see [Connect your account](#connect-your-account-per-user-oauth).
:::info
Only one OAuth 2.0 (Authorization Code) connection is allowed per MCP server. To use a different connection, delete the existing one and configure a new connection.
:::
1. **Authorization**. Provide your own client credentials from the vendor developer portal.
1. **Client ID**. The client ID of the OAuth app you created at the vendor.
1. **Client Secret**. The app's client secret key. It is stored encrypted and not shown again. For a public client, see Public Client.
1. **Public Client** (Authorization code only). Select the Public Client checkbox if the vendor says the app is a public client. In this case, you do not need the client secret key.
1. **Scopes**. The OAuth scopes to request, separated by spaces. Some vendors need a scope such as `offline_access` to issue a refresh token.
#### Connect your account (per-user OAuth)
A **Grant Type** is the OAuth 2.0 (Authorization code) flow your app uses to get an access token from the service. It decides who the token represents, either the app itself or each individual user.
With the grant type as [**Authorization Code**](#method-2-manual) in the [OAuth 2.0](#oauth-20) method, saving the server is not enough. Each person must connect their own account before they can use its tools.
1. [**New UI**](/docs/get-started/sumo-logic-ui). To access the integrations, in the main Sumo Logic menu select **App Catalog > Integrations > Outbound Integrations**.
1. Open the server and click **Connect**.
1. You are sent to the vendor platform. Sign in, review the permissions the app asks for, and approve.
1. You return to Sumo Logic and the connection shows as **Connected**.
Stay signed in to Sumo Logic as the same user throughout. If a different user finishes the flow, it is refused and nothing is saved.
### Bearer token
A bearer token is a static token shared across all users.
### Basic Auth
Use basic authentication when the vendor requires a username and password or a username and API token. Create a service account and use an API token instead of a password whenever possible. All users share the same vendor identity.
### API key
Use API key authentication when the vendor requires a key in a custom request header. Create an API key and note the header name required by the vendor (for example, `DD-API-KEY`). All users who access the connection share the same vendor identity.
## Redirect (callback) URLs
Register the URL for your deployment at the vendor before you click **Connect** only when you use **Use your own credentials** authorization. The other cases differ:
- **Auto-register (Atlassian, AWS)**. There is nothing to register. Atlassian needs an admin to allow the Sumo Logic domain once, and AWS has already approved the Sumo Logic URLs.
- **Sumo Logic managed app (GitHub)**. There is nothing to register, but an organization owner may need to approve the app.
| Region code | Region name | Redirect URL |
|:--|:--|:--|
| AU | Asia Pacific (Sydney) | `https://service.au.sumologic.com/csoar/ui/mcp-oauth-callback` |
| CA | Canada (Central) | `https://service.ca.sumologic.com/csoar/ui/mcp-oauth-callback` |
| CH | Switzerland (Zurich) | `https://service.ch.sumologic.com/csoar/ui/mcp-oauth-callback` |
| DE | EU (Frankfurt) | `https://service.de.sumologic.com/csoar/ui/mcp-oauth-callback` |
| EU | EU (Ireland) | `https://service.eu.sumologic.com/csoar/ui/mcp-oauth-callback` |
| JP | Asia Pacific (Tokyo) | `https://service.jp.sumologic.com/csoar/ui/mcp-oauth-callback` |
| KR | Asia Pacific (Seoul) | `https://service.kr.sumologic.com/csoar/ui/mcp-oauth-callback` |
| US1 | US East (N. Virginia) | `https://service.sumologic.com/csoar/ui/mcp-oauth-callback` |
| US2 | US West (Oregon) | `https://service.us2.sumologic.com/csoar/ui/mcp-oauth-callback` |
## Troubleshooting
| Symptom | What to check |
|:--|:--|
| Saving a server fails with a connection error | The URL is correct, uses HTTPS, and is reachable from the internet. The credential has the right permissions. |
| The connection stays **Not Connected** | Per-user OAuth connections stay not connected until someone clicks **Connect** and approves access. |
| The OAuth app rejects the redirect URL | The URL registered at the vendor must match your deployment's URL exactly. Some vendors accept only URLs they have approved. |
| Tools fail, or you are asked to connect again right after connecting | Connect again. If it persists, check the granted scopes and that the vendor issued a refresh token. |
| A tool says access to a site or workspace was not granted | The grant is limited to what you approved. Connect again and select the right site or workspace. |
| A shared credential stopped working | It may have expired or been revoked. Add a connection with a new credential and delete the old one. |