Synqly MCP Integration Guide: Security Integrations with AI

The Synqly MCP (Model Context Protocol) service enables AI agents to interact directly with the Synqly integration platform. It allows users to connect AI agents to security and ITOps services without writing code. This guide will walk you through the process of setting up the MCP integration and using it with Cursor or Claude Desktop.

Overview

The Synqly MCP server supports the following use cases:

  • Integration management: create and update integrations. This could replace a traditional UI for integration configuration with a chatbot.
  • Query or interact with integrations in any Connector. This can be used within a customer-facing chatbot or by an autonomous agent; for example, to make ad-hoc queries to a security product for enrichment or additional context.

Example Queries

  • "What integrations does Synqly support?"
  • "What fields should I provide for the integration to Okta?"
  • "Create a new integration to Okta in the account 'acme-inc'"
  • "List integrations in the account 'acme-inc'"
  • "Query audit logs for the account 'acme-inc'"
  • "What filters are available for querying audit logs?"

Prerequisites

Before setting up the MCP integration, you'll need:

  1. Synqly Organization Token: This is used for authentication.
  2. A client that supports the MCP protocol such as Cursor or Claude Desktop.

Setup

First you need a Synqly organization token. You can get a global administrator token from the Synqly UI; however, you may want to use the API to create an organization token that is scoped to a specific account so that the MCP server can only access that account.

The create token API supports this, for example:

curl -i -X POST \
  https://api.synqly.com/v1/tokens \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "resources": {
      "accounts": {
        "ids": ["account-to-access"]
      }
    },
    "permission_set": "administrator"
  }'

Cursor

To configure, navigate to Settings -> Cursor Settings -> Tools & Integrations and click on "Add a Custom MCP Server".

Use the following JSON configuration:

{
  "mcpServers": {
    "synqly": {
      "url": "https://api.synqly.com/mcp/",
      "headers": {
        "Authorization": "Bearer {org_token}",
      }
    }
  }
}

where {org_token} is the organization token you created above.

Claude Desktop

To configure, navigate to Settings -> Developer and click on "Edit Config".

Use the following JSON configuration:

{
  "mcpServers": {
    "synqly": {
        "command": "npx",
        "args": [
          "-y",
          "supergateway@latest",
          "--streamableHttp",
          "https://api.synqly.com/mcp/",
          "--header",
          "Authorization: Bearer {org_token}"
      ]
    }
  }
}