MCP Server

Grroxy exposes its tools as an MCP (Model Context Protocol) server, letting AI agents interact with your proxy data directly.

What is MCP?

MCP is an open protocol that lets AI tools connect to external data sources. With Grroxy's MCP server, AI agents can search requests, send payloads, and read captured data programmatically.

Starting the MCP Server

The MCP server runs alongside Grroxy. Access it at:

  • SSE endpoint: /mcp/sse
  • Message endpoint: /mcp/message
  • Health check: /mcp/health
  • List tools: /mcp/listtools

Available Tools

Utility

ToolDescription
grroxyStatusCheck if Grroxy is active

Data

ToolDescription
getRequestResponseFromIDGet the request and response for an active ID
hostPrintSitemapGet the sitemap for a host
hostPrintRowsInDetailsGet the table for a host
listHostsList all hosts with technologies and labels
getHostInfoGet detailed info for a host (technologies, labels, notes)
getNoteForHostGet the note for a host
setNoteForHostSet the note for a host
modifyHostLabelsAdd or remove labels from a host
modifyHostNotesAdd, update, or remove notes for a host

Action

ToolDescription
sendRequestSend a raw HTTP request

Intercept

ToolDescription
interceptToggleEnable or disable request/response interception on a proxy
interceptPrintRowsInDetailsList intercepted requests/responses with full metadata
interceptGetRawRequestAndResponseGet raw HTTP request and response for an intercepted record
interceptActionForward or drop a pending intercept

Proxy

ToolDescription
proxyListList all running proxy instances
proxyStartStart a new proxy with optional browser (chrome, firefox)
proxyStopStop a proxy by ID, or stop all
proxyScreenshotCapture a screenshot from attached Chrome browser
proxyClickClick an element on the page
proxyElementsExtract interactive elements (buttons, links, inputs) with CSS selectors
proxyTypeType text into a form field
proxyEvalExecute JavaScript in the page context
proxyWaitForSelectorWait for a CSS selector to become visible

Chrome Tabs

ToolDescription
proxyListTabsList all open tabs in Chrome
proxyOpenTabOpen a new tab
proxyNavigateTabNavigate a tab to a URL
proxyActivateTabSwitch focus to a specific tab
proxyCloseTabClose a specific tab
proxyReloadTabReload a tab, optionally bypassing cache
proxyGoBackNavigate back in browser history
proxyGoForwardNavigate forward in browser history

Connecting Claude Code

Grroxy has a built-in setup for Claude Code:

# The setup endpoint configures Claude Code automatically
curl http://127.0.0.1:8090/mcp/setup/claude

Or configure manually in your Claude Code MCP settings to point to Grroxy's MCP endpoint.

Connecting Other AI Agents

Any MCP-compatible client can connect to Grroxy. Point your client's MCP configuration to:

http://127.0.0.1:8090/mcp/sse

Use Cases

  • Automated vulnerability scanning — let AI agents crawl and test endpoints
  • Data analysis — query captured traffic with natural language
  • Report generation — AI reads your findings and generates reports
  • Payload generation — AI creates context-aware test payloads based on captured data