Skip to main content
The Ruby SDK wraps a Ruby MCP server. It injects the mcpeyeIntent parameter into every tool, captures each call, and ships batches to your ingest API in the background.

Install

bundle add mcpeye

Minimal usage

require "mcpeye"

# Your existing MCP server instance, with tools already registered.
server = MyServer.new

# Injects mcpeyeIntent into every tool's schema and captures each call.
tracker = Mcpeye.track(
  server,
  "your-project-id",
  ingest_url: ENV.fetch("MCPEYE_INGEST_URL", "http://localhost:3001"),
  ingest_secret: ENV["MCPEYE_INGEST_SECRET"]
)

Configuration

OptionEnv varDescription
project_idYour project id (2nd arg to track), from “Create project”.
ingest_urlMCPEYE_INGEST_URLIngest API base URL. Defaults to http://localhost:3001.
ingest_secretMCPEYE_INGEST_SECRETThe per-project ingest secret from “Create project” / POST /projects.
Tool arguments and results are redacted for obvious secrets before they leave your process, and the only network destination is the ingest URL you control.

What happens after capture

Ingest, sessionize, summarize, and the Intent Gap Report.