Skip to content

Conversation

areibman
Copy link
Contributor

📥 Pull Request

📘 Description
Adds integration support for the mcp-agent framework. This is achieved by:

  • Registering mcp_agent as a new agentic library in agentops/instrumentation/__init__.py.
  • Creating a new integration package agentops/instrumentation/agentic/mcp_agent containing an instrumentor.
  • The instrumentor patches mcp_agent.tracing.telemetry.get_tracer to ensure that spans generated by mcp-agent are routed through the AgentOps global tracer provider, enabling AgentOps to capture these traces.
  • Requires mcp-agent >= 0.1.13.

🧪 Testing
Verified by running mcp-agent examples and confirming that traces were successfully captured and reported by AgentOps.


Open in Cursor Open in Web

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