Skip to content

Conversation

areibman
Copy link
Contributor

📥 Pull Request

📘 Description
Adds comprehensive integration support for MCP Agent, enabling seamless telemetry collection and observability for MCP-based agent workflows. This integration hooks into MCP Agent's existing OpenTelemetry infrastructure and extends it with AgentOps-specific tracking and metrics for tool calls, workflows, and agent executions.

🧪 Testing
New integration tests (tests/integration/test_mcp_agent_integration.py) were added to validate:

  • Correct initialization and instrumentation of the MCPAgentInstrumentor.
  • Proper wrapping of TelemetryManager.traced and TracingConfig.configure.
  • Functionality of wrappers for tool calls, workflows, and agent executions, including span creation and attribute setting.
  • Configuration options for data capture, filtering, and truncation.

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