Skip to content

Feature Request: Support for additional embedded AI providers (GitHub Copilot, Azure OpenAI) #847

@seanankenbruck

Description

@seanankenbruck

Summary

The sentry-mcp server currently only supports OpenAI and Anthropic as embedded AI providers for the natural language search tools (search_issues, search_events). This limits integration options when using the MCP in environments that have access to other AI services.

Use Case

When using sentry-mcp within GitHub Agentic Workflows, the agent runtime already has access to GitHub Copilot's AI via COPILOT_GITHUB_TOKEN. However, the sentry-mcp cannot leverage this existing AI access and requires a separate OpenAI or Anthropic API key.

This creates:

  1. Additional cost - Organizations must pay for a separate AI service subscription
  2. Configuration complexity - Managing additional API keys and secrets
  3. Architectural mismatch - The AI that runs the agent cannot be reused for MCP tools

Proposed Solution

Add support for additional embedded AI providers:

Option 1: GitHub Copilot Provider

env:
  EMBEDDED_AGENT_PROVIDER: "github-copilot"
  GITHUB_TOKEN: "ghp_xxx"  # or COPILOT_GITHUB_TOKEN

Option 2: Azure OpenAI Provider

env:
  EMBEDDED_AGENT_PROVIDER: "azure-openai"
  AZURE_OPENAI_API_KEY: "xxx"
  AZURE_OPENAI_ENDPOINT: "https://xxx.openai.azure.com"
  AZURE_OPENAI_DEPLOYMENT: "gpt-4"

Option 3: Generic OpenAI-Compatible Provider

Already partially supported via --openai-base-url, but would benefit from:

  • Documentation on supported endpoints
  • Testing with common alternatives (GitHub Models, Azure OpenAI, etc.)

Current Workaround

We've disabled the AI-powered search skills (--disable-skills=search) and accept manual issue ID input, losing the natural language search capability.

Environment

  • sentry-mcp version: latest (via npx)
  • Runtime: GitHub Actions with GitHub Agentic Workflows
  • AI available in environment: GitHub Copilot (via COPILOT_GITHUB_TOKEN)

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions