Skip to content

Conversation

areibman
Copy link
Contributor

📥 Pull Request

📘 Description
Adds integration support for mcp-agent (lastmile-ai/mcp-agent). This integration leverages mcp-agent's existing OpenTelemetry spans, routing them through AgentOps' exporter. A new instrumentor is added to auto-detect mcp-agent as an agentic library, preventing duplicate instrumentation from other provider-level instrumentors.

🧪 Testing
Verified mcp-agent's telemetry.py emits OTEL spans. Confirmed the new instrumentor correctly registers mcp-agent as an agentic library, allowing its telemetry to flow through AgentOps without double-instrumentation. The external/mcp-agent submodule was added for local verification.


Open in Cursor Open in Web

Co-authored-by: alex <alex@agentops.ai>
Copy link

cursor bot commented Aug 16, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants