Scout MCP Local logo

Scout MCP Local

Access Scout Monitoring metrics, traces, errors, endpoints, and performance insights through MCP.

Install Scout MCP Local

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "scout-mcp-local": {
      "command": "uvx",
      "args": [
        "scout-mcp-local"
      ],
      "env": {
        "SCOUT_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

Scout Monitoring data access comes to AI assistants through the scout-mcp-local MCP server, which connects to Scout's API using a read-only API key. It exposes tools for application metrics, endpoint performance, traces, error groups, and insights such as N+1 queries and slow queries. Reach for it when an assistant needs production performance or error context while investigating issues in an editor.

Use cases

  • Find slow application endpoints
  • Inspect traces and backtraces
  • Review recent error groups
  • Identify N+1 and slow-query insights
  • Summarize Scout metrics for an assistant

Key features

  • Query Scout application metrics
  • Inspect endpoint performance and time series
  • Retrieve traces with span details
  • Review error groups and backtraces
  • Fetch N+1, memory, and slow-query insights
  • Read Scout configuration resources

Tools8

What Scout MCP Local lets your agent do. Expand a tool for its parameters.

Self-reported~33 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/26 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · scout-mcp-local (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars30Stargazers on the source repository.
Last commit27d agoMost recent push to the default branch.
Tools exposed8Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Scout MCP Local works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Scout MCP Local

scout-mcp-local is an MCP server that connects AI assistants to Scout Monitoring through Scout's API. Its main tools list applications, retrieve application and endpoint metrics, inspect traces, review error groups, and fetch performance insights such as N+1 queries, memory bloat, and slow queries.

Install it with the provided Docker image or run the setup wizard using `npx @scout_apm/wizard`. The wizard configures supported clients after you provide a Scout API key. Manual setup can also launch the Docker container with `SCOUT_API_KEY` in the environment.

It requires `SCOUT_API_KEY`. Set it to a read-only Scout Monitoring API key, not a Scout Agent Key. The server will not start without an API key supplied through the environment or a startup argument.

Yes, Cursor is supported by the setup wizard and can also be configured manually. The MCP configuration launches the Docker image and passes `SCOUT_API_KEY`; the API key value must be replaced with the actual Scout Monitoring key.

It retrieves application metrics, endpoint aggregates and time series, recent endpoint traces, individual traces with spans, error groups, and performance insights. It can also list applications and read documented configuration-template and metrics resources.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewScout MCP Local AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/scout-mcp-local?style=directory)](https://allmcps.com/mcp/scout-mcp-local)
HTML Embed
<a href="https://allmcps.com/mcp/scout-mcp-local"><img src="https://allmcps.com/api/badge/scout-mcp-local?style=directory" alt="Scout MCP Local on AllMCPs" /></a>