---
name: php186-skill-77656
description: "将代理连接到 Monoscope，以便它们可以通过稳定的 JSON CLI 输出或 MCP 工具查询日志、追踪、指标、监控和问题，用于事件分级。"
---

# 使用 Monoscope MCP 和 agent-mode CLI 调查遥测事件

## 使用 Monoscope MCP 和 agent-mode CLI 调查遥测事件

 

Connect agents to Monoscope so they can query logs, traces, metrics, monitors, and issues through stable JSON CLI output or MCP tools for incident triage.

 

## Prerequisites

 

Monoscope cloud or self-hosted stack, S3-compatible storage, OpenTelemetry or test telemetry data, Monoscope CLI or MCP-capable client, API key for MCP access

 

## Installation

 

Use the upstream install or setup path that matches your environment:

 

- git clone https://github.com/1991513ccie-png/skills
- docker-compose up
- npx skills add monoscope-tech/skills
- pip install opentelemetry-distro opentelemetry-exporter-otlp

 

Requirements and caveats from upstream:

 

- **Python**
- opentelemetry-instrument python myapp.py
- **Node.js**

 

Basic usage or getting-started notes:

 

- What is Monoscope? • Cloud vs Self-hosted • Quick Start • AI Agents • &lt;a href="#roadmap...
- 🤖 **AI agents** — Create agents that run on a schedule to detect anomalies and surface insights
- | **Pricing** | Usage-based | Free (AGPL-3.0) |
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/monoscope-tech/monoscope/HEAD/README.md

 

## Documentation

 

- https://docs.monoscope.tech
