# Scouter MCP server

> Queries Scouter APM metrics, XLogs, counters, and objects to help AI clients diagnose root causes and explore observability data.

- Repository: https://github.com/335/scouter-mcp
- Page: https://hostedmcp.org/servers/335/scouter-mcp
- Transport: stdio
- Stars: 2
- License: Apache-2.0
- Latest version: 0.3.5

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `SCOUTER_COLLECTOR_HOST` | no | no |  |
| `SCOUTER_COLLECTOR_PORT` | no | no |  |
| `SCOUTER_PASSWORD` | no | no |  |
| `SCOUTER_TZ` | no | no |  |
| `SCOUTER_USER` | no | no |  |

## Tools (14)

- `list_objects`
- `search_xlog`
- `get_service_summary`
- `get_summary`
- `get_xlog_detail`
- `get_xlog_by_gxid`
- `get_counter`
- `get_counter_stat`
- `list_counters`
- `list_alerts`
- `get_active_services`
- `list_threads`
- `get_thread_detail`
- `get_object_env`

## FAQ

### Can I use this to write data to Scouter?

No, all operations against the Collector are read-only.

### How can I protect PII in SQL bind parameters?

You can set the SCOUTER_INCLUDE_BIND_PARAMS environment variable to false to strip bind parameters server-side.

### Is the connection to the Scouter Collector secure?

The transport uses plaintext TCP without TLS, so it is recommended to run it within a trusted network or via an SSH/VPN tunnel.

### How do I handle multiple Scouter collectors?

You should use the standalone fat jar and add a separate entry in your client configuration for each collector, providing unique environment variables for each.
