-
Notifications
You must be signed in to change notification settings - Fork 97
Feature Request: Support for additional embedded AI providers (GitHub Copilot, Azure OpenAI) #847
Description
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:
- Additional cost - Organizations must pay for a separate AI service subscription
- Configuration complexity - Managing additional API keys and secrets
- 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_TOKENOption 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
- GitHub Agentic Workflows: https://github.com/github/gh-aw
- Related discussion: Using sentry-mcp in environments with pre-existing AI access