Skip to content

Conversation

areibman
Copy link
Contributor

📥 Pull Request

📘 Description
Adds integration support for mcp-agent (Model Context Protocol Agent). This integration automatically hooks into mcp-agent's telemetry.py system, capturing agent operations, tool calls, and workflow execution as AgentOps spans. It enriches spans with mcp_agent.* specific attributes for enhanced observability.

🧪 Testing
A comprehensive unittest suite (test_integration.py) was created to validate the integration, including:

  • Verification of mcp_agent.* span attributes.
  • Testing of custom span context managers and decorators.
  • Error handling within instrumented spans.
  • Mocked tests for auto-hooking behavior.
    An example.py was also created to demonstrate usage.

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