> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentcat.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Third-Party Integrations

> Connect AgentCat with your existing observability platforms.

## Overview

AgentCat can integrate with your existing observability platforms, allowing you to monitor your MCP servers using familiar tools. You can use these integrations with or without an AgentCat account.

When you configure exporters, the `project_id` parameter becomes optional:

<CodeGroup>
  ```typescript TypeScript theme={null}
  // Forward to OTLP without an AgentCat account
  agentcat.track(server, null, {
    exporters: {
      otlp: {
        type: "otlp",
        endpoint: "http://localhost:4318/v1/traces"
      }
    }
  })
  ```

  ```python Python theme={null}
  # Forward to OTLP without an AgentCat account
  agentcat.track(server, None, agentcat.AgentCatOptions(
    exporters={
      "otlp": {
        "type": "otlp",
        "endpoint": "http://localhost:4318/v1/traces"
      }
    }
  ))
  ```

  ```go Go theme={null}
  import mcpcat "github.com/mcpcat/mcpcat-go-sdk/officialsdk"
  // For mark3labs/mcp-go: import mcpcat "github.com/mcpcat/mcpcat-go-sdk/mcpgo"

  // Forward to OTLP without an MCPcat account
  mcpcat.Track(s, "", &mcpcat.Options{
      Exporters: map[string]any{
          "otlp": map[string]any{
              "type":     "otlp",
              "endpoint": "http://localhost:4318/v1/traces",
          },
      },
  })
  ```
</CodeGroup>

## Supported Platforms

AgentCat currently supports integration with the following observability platforms:

* **[OpenTelemetry (OTLP)](/integrations/open-telemetry)** - Connect to any OTLP-compatible backend (Jaeger, Tempo, New Relic, etc.)
* **[Datadog](/integrations/datadog)** - Send logs and metrics to Datadog
* **[Sentry](/integrations/sentry)** - Track errors and logs in Sentry
* **[PostHog](/integrations/posthog)** - Send product analytics events to PostHog

## Using Multiple Integrations

You can configure multiple integrations to send events to different platforms simultaneously:

<CodeGroup>
  ```typescript TypeScript theme={null}
  agentcat.track(server, "proj_YOUR_ID", {
    exporters: {
      otlp: {
        type: "otlp",
        endpoint: "http://localhost:4318/v1/traces"
      },
      datadog: {
        type: "datadog",
        apiKey: process.env.DD_API_KEY,
        site: "datadoghq.com",
        service: "my-mcp-server"
      },
      sentry: {
        type: "sentry",
        dsn: process.env.SENTRY_DSN,
        environment: "production"
      },
      posthog: {
        type: "posthog",
        apiKey: process.env.POSTHOG_API_KEY,
        host: "https://us.i.posthog.com"
      }
    }
  })
  ```

  ```python Python theme={null}
  agentcat.track(server, "proj_YOUR_ID", agentcat.AgentCatOptions(
    exporters={
      "otlp": {
        "type": "otlp",
        "endpoint": "http://localhost:4318/v1/traces"
      },
      "datadog": {
        "type": "datadog",
        "api_key": os.getenv("DD_API_KEY"),
        "site": "datadoghq.com",
        "service": "my-mcp-server"
      },
      "sentry": {
        "type": "sentry",
        "dsn": os.getenv("SENTRY_DSN"),
        "environment": "production"
      },
      "posthog": {
        "type": "posthog",
        "api_key": os.getenv("POSTHOG_API_KEY"),
        "host": "https://us.i.posthog.com"
      }
    }
  ))
  ```

  ```go Go theme={null}
  mcpcat.Track(s, "proj_YOUR_ID", &mcpcat.Options{
      Exporters: map[string]any{
          "otlp": map[string]any{
              "type":     "otlp",
              "endpoint": "http://localhost:4318/v1/traces",
          },
          "datadog": map[string]any{
              "type":    "datadog",
              "apiKey":  os.Getenv("DD_API_KEY"),
              "site":    "datadoghq.com",
              "service": "my-mcp-server",
          },
          "sentry": map[string]any{
              "type":        "sentry",
              "dsn":         os.Getenv("SENTRY_DSN"),
              "environment": "production",
          },
          "posthog": map[string]any{
              "type":   "posthog",
              "apiKey": os.Getenv("POSTHOG_API_KEY"),
              "host":   "https://us.i.posthog.com",
          },
      },
  })
  ```
</CodeGroup>

## Performance

Platform integrations are non-blocking and asynchronous. Integration failures are logged but won't interrupt your MCP server's operation or affect performance.
