Observed since 20 Oct, 22:34 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
MCP server for AgentLens — zero-code observability for MCP-native AI agents
MCP server for AgentLens — zero-code observability for any MCP-compatible agent (Claude Desktop, Cursor, Windsurf, etc.).
Any agent that supports MCP can send traces to AgentLens without installing the Python or TypeScript SDK.
pip install agentlens-mcp
Start the AgentLens server:
pip install agentlens-server
agentlens-server
~/Library/Application Support/Claude/claude_desktop_config.json){
"mcpServers": {
"agentlens": {
"command": "agentlens-mcp"
}
}
}
Add to your MCP server config:
{
"agentlens": {
"command": "agentlens-mcp"
}
}
Once connected, your MCP agent can call these tools:
| Tool | Description |
|---|---|
agentlens_start_session | Start a new debugging session. Returns a session_id to use in subsequent calls. |
agentlens_report_trace | Report a trace event (LLM call, tool call, decision, memory op, error). |
agentlens_report_memory | Report a memory state change (created, updated, accessed, deleted). |
The MCP server receives tool calls from your agent and forwards them to the AgentLens HTTP server (http://localhost:8766). Events appear in the dashboard in real-time.
Agent → MCP call → agentlens-mcp server → HTTP POST → AgentLens server → Dashboard
Once the MCP server is connected, Claude can instrument its own tasks:
1. Call agentlens_start_session → get session_id
2. For each tool call: agentlens_report_trace(session_id, event_type="tool_call", ...)
3. For each LLM decision: agentlens_report_trace(session_id, event_type="decision", ...)
Open http://localhost:5173 to watch the trace build in real time.
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.0 | 18 Mar 2026 | 3 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:34 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:c3dfe46d29fe9a6eb271744095d079ce200493d6db6a5ff815053aaf2e033c04