RESOURCES · DOCS · AGENT STUDIO · MCP COOKBOOK

Twenty worked MCP debugging recipes.

Each recipe names the server shape, the connection mode, what to inspect, what to record, and what artifact to export. Copyable. Reproducible.

INSTRUMENT READOUT · COOKBOOK COVERAGE
BASELINE RECIPE

One known server. One recorded tool call.

Start from a known sample server, record a simple tool call, and keep the generated replay artifact under version control.

Recipes are included for Claude Desktop, Cursor, and Cody so users can bring existing MCP configurations into Agent Studio Open without changing their server code.

↳ COMMANDS
agentstudio connect --stdio "npx -y @modelcontextprotocol/server-filesystem ./fixtures"
agentstudio record --session filesystem-smoke --tool list_directory --json '{"path":"."}'
agentstudio replay filesystem-smoke.ast --export github-action
THE 23 SCENARIOS

Every shape we've seen break.

Each scenario lists the transport and the artifact you should keep when the recipe is done.

NO.SCENARIOTRANSPORTARTIFACT
01

Claude Desktop stdio server migration

stdiotrace card
02

Cursor workspace MCP configuration review

stdiomanifest report
03

Cody-compatible remote HTTP server replay

HTTPreplay .ast
04

Filesystem destructive-path review

stdiorisk SARIF
05

Fetch server timeout and retry trace

stdiotrace card
06

SQLite read-only query guard

stdiopolicy note
07

Memory server prompt-injection probe

stdiorisk SARIF
08

Brave Search rate-limit replay

HTTPreplay .ast
09

OAuth bearer header configuration

HTTPconnection profile
10

mTLS remote server certificate note

HTTPconnection profile
11

SSE reconnect and dropped event recovery

SSEtrace card
12

HTTP JSON-RPC batch failure

HTTPJUnit report
13

WebSocket session close handling

WebSockettrace card
14

Tool schema narrowing after linter warning

anymanifest diff
15

Resource listing with empty-state verification

anytrace card
16

Prompt template safety review

anyrisk SARIF
17

Server logs attached to trace card

stdiotrace card
18

Mocked tool outputs for replay

anyreplay .ast
19

Model upgrade comparison

anycompare report
20

GitHub Action export

anyworkflow YAML
21

JUnit export for CI dashboards

anyJUnit XML
22

PR comment export

anyPR markdown
23

AuraOne intake packet preview

any.auraonepkg
TRANSPORT RECIPES

One pattern per transport.

STDIO

Local filesystem server

Spin up the reference filesystem server, scan tools for destructive paths, and capture a list_directory replay.

agentstudio connect --stdio "npx -y @modelcontextprotocol/server-filesystem ./fixtures"
agentstudio risk-scan ./fixtures --fail-on high
agentstudio record --session fs-list --tool list_directory --json '{"path":"."}'
SSE / HTTP

Remote MCP with OAuth

Configure a bearer header, replay a tool call against the remote, and export a PR comment.

agentstudio connect --http https://example.com/mcp --header "Authorization: Bearer $TOKEN"
agentstudio record --session refund-tool --tool refund.create --json '{"id":"INV-9"}'
agentstudio export refund-tool.ast --pr-comment
WEBSOCKET

Streaming session close

Record a long-running tool call across a WebSocket transport and verify a clean close in the trace.

agentstudio connect --ws wss://example.com/mcp
agentstudio record --session stream-close --tool stream.subscribe
agentstudio replay stream-close.ast --assert-close-code 1000
MCP COOKBOOK

One recipe at a time. One escape caught.

Pick the recipe closest to the failure you saw last week. Run it. Keep the artifact.

MCP cookbook | Agent Studio Open Docs