Ruby gem providing ScoutAPM API client and MCP (Model Context Protocol) server tools for fetching traces, endpoints, metrics, errors, and insights. Integrates with MCP-compatible clients like Cursor IDE, Claude Desktop, and other MCP-enabled tools.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"scout-apm": {
"env": {
"RUBY_VERSION": "3.4.7",
"OP_ENV_ENTRY_PATH": "op://Vault Name/Item Name"
},
"args": [
"exec",
"scout_apm_mcp"
],
"command": "gem"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Ruby gem providing ScoutAPM API client and MCP (Model Context Protocol) server tools for fetching traces, endpoints, metrics, errors, and insights. Integrates with MCP-compatible clients like Cursor IDE, Claude Desktop, and other MCP-enabled tools.
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in analytics / devops
MCP server for using the GitLab API
MCP Server for GCP environment for interacting with various Observability APIs.
⚡ A Simple / Speedy / Secure Link Shortener with Analytics, 100% run on Cloudflare.
Enhanced MCP server for GitLab: group projects listing and activity tracking
MCP Security Weekly
Get CVE alerts and security updates for Scout_apm_mcp.Rb and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Ruby gem providing ScoutAPM API client and MCP (Model Context Protocol) server tools for fetching traces, endpoints, metrics, errors, and insights. Integrates with MCP-compatible clients like Cursor IDE, Claude Desktop, and other MCP-enabled tools.
Sponsored by Kisko Labs.
gem install scout_apm_mcp
For Cursor IDE, create or update .cursor/mcp.json in your project:
{
"mcpServers": {
"scout-apm": {
"command": "gem",
"args": ["exec", "scout_apm_mcp"],
"env": {
"OP_ENV_ENTRY_PATH": "op://Vault Name/Item Name",
"RUBY_VERSION": "3.4.7"
}
}
}
}
Note: Using gem exec ensures the correct Ruby version is used. If you're using a Ruby version manager like mise or rbenv, set the RUBY_VERSION environment variable to match your desired Ruby version. The gem exec command will automatically use the correct Ruby version based on your version manager configuration.
For Claude Desktop, edit the MCP configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"scout-apm": {
"command": "gem",
"args": ["exec", "scout_apm_mcp"],
"env": {
"OP_ENV_ENTRY_PATH": "op://Vault Name/Item Name",
"RUBY_VERSION": "3.4.7"
}
}
}
}
Note: After updating the configuration, restart Claude Desktop for changes to take effect. Using gem exec ensures the correct Ruby version is used. If you're using a Ruby version manager like mise or rbenv, set the RUBY_VERSION environment variable to match your desired Ruby version. The gem exec command will automatically use the correct Ruby version based on your version manager configuration.
Do not store API keys or tokens in MCP configuration files. Instead, use one of these methods:
OP_ENV_ENTRY_PATH environment variable (e.g., op://Vault/Item) to automatically load credentials via opdotenvAPI_KEY or SCOUT_APM_API_KEY in your shell environment (not recommended for production - use secret vault for in-memory provisioning)The gem will automatically detect and use credentials from your environment or 1Password integration.
You can test the MCP server using the MCP Inspector tool:
# Set your 1Password entry path (or use API_KEY/SCOUT_APM_API_KEY)
export OP_ENV_ENTRY_PATH="op://Vault/Scout APM"
# Run the MCP inspector with the server
npx @mo
... [View full README on GitHub](https://github.com/amkisko/scout_apm_mcp.rb#readme)