# scout-mcp-local [Health: Active]

**Category:** 📊 Monitoring  
**Repository:** https://github.com/scoutapp/scout-mcp-local  
**GitHub Stars:** 30  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/scout-mcp-local

## Description
An MCP server for Scout Monitoring data interactions.

## Tools
Capabilities this server exposes over MCP:

- **list_apps**
- **get_app_metrics**
- **get_app_endpoints**
- **get_endpoint_metrics**
- **get_app_endpoint_traces**
- **get_app_trace**
- **get_app_error_groups**
- **get_app_insights**

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "scout-mcp-local": {
    "command": "uvx",
    "args": ["scout-mcp-local"],
    "env": {
      "SCOUT_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `SCOUT_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What scout-mcp-local does

The scout-mcp-local MCP server lets an AI assistant query data from Scout Monitoring through Scout's API. It is intended for applications instrumented with Scout agents, including Ruby, Python, and PHP applications. The returned data can help an assistant inspect application performance, investigate errors, and relate traces or backtraces to code changes.

Scout access is read-only through the API key used by the server. The server does not collect application data itself; the application must already be sending monitoring data to Scout. For local testing, the README recommends enabling monitoring and error collection in the application configuration.

## How it works

The scout-mcp-local MCP server runs locally and is commonly started from the supplied Docker image. An MCP-compatible assistant launches the process and passes `SCOUT_API_KEY` into its environment. The server then uses that key to retrieve data from Scout Monitoring.

A typical investigation can begin by listing applications, checking aggregate metrics, finding slow endpoints, and narrowing the search to endpoint traces or an individual trace. Error groups and performance insights provide additional context for issues such as frequent errors, N+1 queries, memory bloat, and slow queries.

The repository also provides MCP resources for framework configuration templates, a list of available templates, and Scout metrics. Templates are available for Rails, Django, Flask, and FastAPI according to the documented resource paths.

## Setup and configuration

Create or access a Scout Monitoring account, install the Scout agent in the application, and generate an API key from Scout's Settings page. The required key is the read-only API key, not the Scout Agent Key. The process will not start unless an API key is supplied either through the environment or a startup argument.

The recommended deployment uses Docker. The setup wizard can be run with `npx @scout_apm/wizard`; it guides platform selection, API-key entry, and MCP configuration. Documented wizard targets are Cursor, Claude Code, and Claude Desktop. Manual configuration can also launch the Docker container with standard input enabled and `SCOUT_API_KEY` passed through the environment.

The project can alternatively be cloned and run from source with `uv` or another environment manager. Local development includes an Inspector task launched with `uv run task dev`.

## Tools and capabilities

The scout-mcp-local MCP server exposes these Scout data operations:

- `list_apps` lists available applications, with optional last-active filtering.
- `get_app_metrics` retrieves application metrics such as response time and throughput.
- `get_app_endpoints` returns application endpoints with aggregate performance data.
- `get_endpoint_metrics` retrieves time-series data for one endpoint.
- `get_app_endpoint_traces` finds recent traces for an application endpoint.
- `get_app_trace` retrieves a trace with spans and execution details.
- `get_app_error_groups` retrieves recent error groups, optionally filtered by endpoint.
- `get_app_insights` retrieves performance findings including N+1 queries, memory bloat, and slow queries.

These results can support assistant workflows such as summarizing slow endpoints, examining an error backtrace, or preparing issue and ticket details with other configured tools.

## Limitations and notes

A Scout account, an instrumented application, and a valid API key are prerequisites. The server only exposes the Scout data operations documented above; issue trackers, source-control systems, and ticket creation require separate assistant tools or integrations. Output can be large, and the README recommends a generous MCP output-token limit when the client supports one.

_Full upstream README: https://allmcps.com/mcp/scout-mcp-local/readme_

