Logo Inspector MCP Server

Inspector MCP Server

Tổ chức
inspector-apm

MCP Server to make Coding Assistant able to access errors and performance data directly from your monitoring tool.

Nhà phát hànhinspector-apm
Kho mãmcp-server
Ngôn ngữPHP
Bản fork
2
Sao
7
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Inspector MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    7 sao và 2 bản fork từ kho mã được liên kết.

Inspector MCP Server

Inspector MCP Server was built specifically for the PHP ecosystem; this server provides tools to allow AI coding agents to access production errors data with comprehensive context, to automatically fix issues, and to provide actionable recommendations for root cause analysis and resolution strategies.

STDIO Transport (install in your local machine)

Install

You can install the MCP server as a dev-dependency in your project:

composer require inspector-apm/mcp-server --dev

Client Configuration

The configuration below is for the MCP client like coding agents (Claude Code, Gemini Code Assist, etc), or agentic IDEs like Jetbrains, Windsurf, Cursor, etc.

json
{
    "mcpServers": {
        "inspector": {
            "command": "php",
            "args": [
                "absolute-path-to-your-app-vendor-folder/inspector-apm/mcp-server/server.php"
            ],
            "env": {
                "INSPECTOR_API_KEY": "xxxx", // Inspector API key (https://app.inspector.dev/account/api)
                "INSPECTOR_APP_ID": "xxxx" // The App ID on the Inspector dashboard
            }
        }
    }
}

You need three information to complete this configuration:

  • Absolute path of the vendor folder: This is the root path where the vendor folder of your project is located in your computer. The next part is the path to point to the file that runs the MCP server (inspector-apm/mcp-server/server.php)
  • INSPECTOR_API_KEY: Click Here to generate a new API key
  • INSPECTOR_APP_ID: This is the unique identifier of your application inside Inspector. You can get this information in the Application Settings menu in the Inspector dashboatrd

You can get the MCP configuration for your application by navigating to the Application Settings section in the Inspector dashboard.

Claude Code Configuration

Once you have the information above you can connect the Inspector MCP server to Claude Code with the command below:

claude mcp add inspector --env INSPECTOR_API_KEY=YOUR_KEY --env INSPECTOR_APP_ID=YOUR_APP_ID -- php absolute_path_to_your_app_vendor_folder/inspector-apm/mcp-server/server.php

For other agents check out their documentation on how to connect to local (STDIO) MCP servers.

Available Tools

NameDescriptionProperties
get_production_errorsGet recent production errors to debug and fix application issues. Returns a comprehensive analysis of errors, including frequency, severity, affected code locations, and AI-powered recommendations for resolution. Use this tool when investigating application problems, performance issues, or when you need to understand what's currently broken in production. Essential for proactive debugging and maintaining application reliability.(int) $hours(int) $limit
get_error_analysisGet detailed error analysis from the production environment including the actual application source file (not just library stack traces), error patterns, code context, occurrence frequency, and structured debugging guidance to help you fix the issue quickly.(string) $group_hash
worst_performing_transactionsRetrieve the list of the ten worst performing transactions in the selected time range (24 hours by default). A transaction represents an execution cycle of the application. It could be an HTTP request, a background job, or a console command.(int) $hours(int) $limit
transaction_detailsRetrieve the transaction details and the timeline of all tasks executed during the transaction. The timeline includes the start and duration of each task (database queries, cache commands, call to external http services, and so on).(int) $hours

What It Does

Transform your AI coding assistant into a production-aware debugging partner:

  • 🔍 Smart Error Analysis - AI agents can fetch and analyze recent production errors with comprehensive context
  • 📊 Intelligent Prioritization - Automatic error classification by frequency, severity, and recency
  • 💡 Actionable Recommendations - AI-powered suggestions for root cause analysis and resolution strategies
  • 🎯 Code-Level Insights - Direct integration with stack traces and application source code locations
  • ⚡ Developer Experience - Optimized for modern PHP development workflows, including Neuron AI framework

Key Features

Production Error Monitoring

  • Retrieve errors from the last 24 hours with detailed context
  • Frequency analysis and trend detection
  • Real-time error status and recency indicators

AI-Optimized Reporting

  • LLM-friendly error formatting for maximum comprehension
  • Pattern detection for recurring issues
  • Automated categorization of error types (API issues, database problems, performance bottlenecks)

Developer-Centric Design

  • Framework-agnostic PHP integration
  • Comprehensive stack trace analysis
  • Direct code location references for faster debugging

Perfect For

  • PHP Developers building modern applications who want AI-assisted debugging
  • Teams using Inspector.dev for production monitoring
  • Neuron AI Framework users leveraging AI agents in their development workflow
  • DevOps Engineers seeking intelligent error analysis and resolution guidance

About

This MCP server is developed by the team behind Inspector.dev and the Neuron AI framework, bringing enterprise-grade monitoring capabilities to AI-powered applications.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "inspector-apm-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

Dùng MCP Inspector MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Inspector MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Inspector MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Inspector MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "inspector-apm-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Inspector MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Inspector MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Inspector MCP Server giúp tôi làm việc này không?
Inspector MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Inspector MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Inspector MCP Server dùng để làm gì?

Inspector MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Inspector MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Inspector MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Inspector MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Inspector MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Inspector MCP Server với TypingMind?

Inspector MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Inspector MCP Server cung cấp những công cụ nào trong TypingMind?

Inspector MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Inspector MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Inspector MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇