mcp-agent-monitor

mcp-agent-monitor

MCP server that analyzes AI agent execution logs to calculate reliability scores, detect failure patterns, and suggest concrete improvements for making AI agents more reliable.

Category
Visit Server

README

mcp-agent-monitor

Make your AI agents reliable — one log at a time.

A production-ready MCP (Model Context Protocol) server that analyzes AI agent execution logs, calculates reliability scores, detects failure patterns, and suggests concrete improvements.

Perfect for entrepreneurs and teams building AI agents who want to stop guessing why agents fail and start fixing them with data.

Why this exists

AI agents fail silently. You see a wrong answer but you don't know:

  • Which tool call broke?
  • Is it a timeout, bad parameter, or cascading error?
  • Is the agent getting better or worse over time?

This MCP server turns raw agent traces into clear reliability insights — 100% local computation, zero paid API calls.

Features (Tools)

Tool What it does
analyze_agent_trace Full analysis: score + patterns + suggestions
score_reliability Quick 0-100 reliability score
detect_failure_patterns Only the failure patterns
compare_traces Before vs After comparison
generate_reliability_report Beautiful Markdown report for humans

Quick Start

1. Install

npm install
npm run build

2. Run (stdio)

node dist/index.js

3. Add to your MCP client (Claude Desktop / Cursor / etc.)

{
  "mcpServers": {
    "agent-monitor": {
      "command": "node",
      "args": ["/path/to/mcp-agent-monitor/dist/index.js"]
    }
  }
}

Example Usage

Give the agent a log like this:

{
  "agent_id": "sales-outreach-v2",
  "steps": [
    { "tool": "search_leads", "success": true, "duration_ms": 340 },
    { "tool": "send_email", "success": false, "error": "rate limit exceeded", "duration_ms": 1200 },
    { "tool": "send_email", "success": false, "error": "rate limit exceeded", "duration_ms": 1100 }
  ]
}

Call analyze_agent_trace → get score, pattern ("Repeated failure on tool send_email"), and suggestions.

Project Structure

mcp-agent-monitor/
├── src/
│   └── index.ts          # Full MCP server + all tools
├── tests/
│   └── reliability.test.ts
├── mcpize.yaml           # MCP metadata
├── package.json
├── tsconfig.json
├── .env.example
├── LAUNCH.md
└── README.md

Pricing Suggestion (for marketplace)

  • Free tier: 50 analyses / month
  • Pro: $19/mo unlimited + team sharing
  • Enterprise: custom (SSO, private deployment)

Author

Built by Prince Ruhul (@princeruhulofficial)
Founder of Prevalid — Making AI Accountable at infrastructure level.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured