description: Tutorial 9 - activate MCP Everything from the catalog and drive every Inspector primitive (Tools · Resources · Prompts · Roots · Sampling · Elicitation).
Time 12 min · Difficulty ★★☆ · Surfaces MCP Server (catalog + Inspector)
!!! abstract “Goal” Activate MCP Everything from the Default MCP Servers and drive every Inspector primitive - Tools, Resources, Prompts, Ping, Notifications, Roots, Sampling, Elicitation - against a single server in one sitting. No credentials, no tenant setup; everything in this tutorial runs against a server that has no auth surface.
!!! info “Why MCP Everything” MCP Everything is the official MCP working group’s reference test server. It is the only publicly available server that intentionally implements every protocol primitive - including the inverted client-side ones (Sampling, Elicitation) that real-world servers usually skip. If a primitive doesn’t light up here, the bug is almost certainly on the client side (the playground), which is exactly why it’s catalogued in the first place. For the per-primitive matrix and the catalog template, see Default MCP Servers → Examples → MCP-Everything. For the spec-level “what each primitive is” explanation, see MCP Inspector.
The catalog template ships per-OS STDIO commands that fetch and spawn @modelcontextprotocol/server-everything via npx (npx.cmd on Windows). You either need Node.js 18+ on the host, or you can switch to the Docker variant in one form edit.
=== “macOS” ```bash # Homebrew (recommended) brew install node
# or the official installer
# https://nodejs.org/en/download
```
The catalog activates with `npx -y @modelcontextprotocol/server-everything` and works once `npx` is on `PATH`.
=== “Ubuntu / Debian” ```bash # Distro packages - quick path sudo apt update sudo apt install nodejs npm
# Or nvm if you need a specific Node version
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
nvm install --lts
```
Verify with `node --version` (must report `v18.x` or newer).
=== “Fedora / RHEL”
bash
sudo dnf install nodejs npm
# or for a specific stream:
sudo dnf module install nodejs:20/common
=== “Windows” ```powershell # winget (PowerShell, recommended) winget install OpenJS.NodeJS.LTS
# or the official installer
# https://nodejs.org/en/download
```
The catalog automatically picks the Windows variant (`npx.cmd`) when it detects the host OS.
=== “Docker (any OS)” If you’d rather not install Node, switch the activation form’s transport fields after clicking the catalog row:
| Field | Value |
|---|---|
| **Command** | `docker` |
| **Arguments** | `run`, `-i`, `--rm`, `tzolov/mcp-everything-server:v2` |
The Docker form is what the in-app QA recipe uses as a smoke test - it is the same image, same protocol surface, just packaged.
!!! tip “MCP Everything needs no credentials” Unlike the other catalog entries (Gmail, Slack, GitHub, …) that wrap a real account, MCP Everything is a synthetic server - every tool is implemented internally with mock data. You won’t be asked for a token, a tenant ID, or an OAuth grant. That makes it the right first stop for verifying that the playground’s MCP client wiring works end-to-end before you spend OAuth setup time on a real vendor.
Example category group, or type everything into the filter bar at the top - both surface the MCP Everything entry.Click the row. You do not pick the OS variant manually - the playground reads the host OS at startup and the configuration form opens already pre-filled with the matching command + args. The table below shows what gets selected for each platform:
| Host OS | Command | Arguments |
|---|---|---|
| macOS / Linux | npx |
-y @modelcontextprotocol/server-everything |
| Windows | npx.cmd |
-y @modelcontextprotocol/server-everything |
!!! tip “Per-OS auto-selection covers every stdio catalog entry”
The same mechanism applies to all 8 stdio entries in the catalog - Git, Puppeteer, Playwright, Memory, Sequential Thinking, SQLite, Brave Search, and MCP Everything. Each ships in three OS-specific JSON variants (default-mcp-specs-stdio-mac.json / -linux.json / -windows.json under src/main/resources/mcp/), and the sidebar surfaces only the variant matching your host so the pre-filled command works without editing. macOS / Linux variants use npx or uvx; Windows variants use npx.cmd. See MCP Server → Catalog & Sidebar Filtering for the mechanism.
docker and Arguments with run, -i, --rm, tzolov/mcp-everything-server:v2.initialize + one-shot listTools without touching the live connection map. A green OK tells you the spawn + JSON-RPC handshake works on your host.Example category, and the status dot turns green.
The configuration form opens already filled in with the host-OS variant - npx on macOS/Linux, npx.cmd on Windows. Test Connection runs a transient initialize + listTools without touching the live map; Save & Connect then promotes the row into Active MCP under the Example group.
!!! tip “If the status dot stays gray or turns red”
The most common causes are missing npx on PATH (Node not installed or shell not refreshed), or the host blocking the npm registry. Switch to the Docker variant on the same form and click Save & Connect again - that bypasses both.
The connection’s right pane now exposes the MCP Inspector below the form. Eight tabs sit side by side; the default selection is Tools.
A single play button, an OK badge, the round-trip duration, and the server’s ISO timestamp - the smallest possible end-to-end JSON-RPC check.
Ping proves the JSON-RPC channel is alive end-to-end independent of any tool or resource call - which is why it’s the right first signal after Save & Connect. See Inspector → Ping for the spec context.
Switch to the Tools tab. Each tool the server publishes from tools/list renders as a full-width card with its description, schema-typed inputs, and a Run tool button. MCP Everything publishes 15 tools; you’ll exercise three that demonstrate three different shapes of input and output.
hello from playground into the message input.
The same REQUEST / RESPONSE / Raw layout every Tools call uses - the round-trip envelope is one toggle away when you need to debug at the wire level.
add tool - the playground surfaces it under its display name). The two a / b fields render as number inputs because the JSON Schema declares "type": "number".2 and 3.5.
The schema declared "type": "number", so the Inspector renders proper numeric inputs - not free-text. The Raw envelope shows arguments: { a: 2, b: 3 } typed accordingly.
This is how the Inspector’s input controls track JSON Schema - boolean → checkbox, enum → dropdown, array/object → JSON editor. See Inspector → Tools for the full mapping.
messageType Select (enum: error · success · debug) and an includeImage checkbox.success, check the box, click Run tool.content array - one text block carrying the server-declared annotations (priority + audience hints the model can use), and one base64 image block the Inspector renders as a preview tile with the byte length displayed.
The text block’s annotations (priority + audience) are routing hints the model can lean on; the image block is decoded inline so you can verify the bytes without leaving the Inspector.
!!! tip “Validate every new tool here first” Tools that fail in the Inspector fail in Agentic Chat too, but the chat error is wrapped in the agent’s reasoning trace and harder to debug. Save yourself a turn - run every new tool here once before letting a model invoke it.
Switch to the Resources tab. The Inspector splits the section into two sub-sections - RESOURCES (N) for the server’s static URIs and RESOURCE TEMPLATES (N) for parameterised templates.
RESOURCES 7 header reflects MCP Everything’s synthetic static set - seven demo://resource/static/document/*.md entries (architecture.md, extension.md, features.md, how-it-works.md, instructions.md, startup.md, structure.md).architecture.md, is fine). The card shows the URI, the server-declared mimeType chip (text/markdown), and a server-supplied description.CONTENTS - text content renders verbatim, binary content surfaces as a base64 preview.
Each row reads its URI inline - no tab switch, no separate viewer. The text/markdown chip and the OK badge confirm the mimeType and round-trip duration the server reported.
RESOURCE TEMPLATES 2 section exposes two parameterised templates - demo://resource/dynamic/text/{resourceId} and demo://resource/dynamic/blob/{resourceId}.VARIABLES block with a JSON-Schema-typed input for resourceId. The description warns that the variable must be an integer.42 into resourceId and click Expand template and read. The server substitutes the variable, resolves the URI to demo://resource/dynamic/text/42, and returns a deterministic text body keyed on the variable.
Templates declare their URI variables with JSON-Schema-typed inputs - same control pool the Tools tab draws from - and the resolved URI (demo://resource/dynamic/text/42) lands above the body so you can confirm the substitution worked.
See Inspector → Resources for the static / template distinction in the MCP spec.
Switch to the Prompts tab. Prompts are named, parameterised message templates the server can render for the client. MCP Everything publishes three that exercise the three shapes you’ll meet in the wild.
simple-prompt - no argumentsSimple Prompt card has only a name and a description.messages array ready to feed a model. There is nothing to fill in because the prompt takes no arguments.args-prompt - required + optional argumentsArguments Prompt card requires city and accepts an optional state.city: Seoul, state: South Korea.
The rendered messages array is what a chat client would feed straight into a model - the playground shows it verbatim so you can sanity-check the substitution before wiring it into Agentic Chat.
completable-prompt - argument completion via completion/completeTeam Management card declares its department argument as completable.department field. As you type, the Inspector fires completion/complete against the server and surfaces the returned suggestions inline - this is the only place in the playground where MCP completion is observable.
This is the only place in the playground that exercises MCP’s completion/complete - the server populates the suggestions live as you type, the same way an IDE renders symbol completions.
See Inspector → Prompts for the spec contract.
Notifications are unsolicited messages from the server to the client - list-changed events, structured log records, progress updates. Switching to the Notifications tab right after connect already shows a few - MCP Everything emits a TOOLS_CHANGED notification on every reconnect so the client can re-fetch tools/list.
TOOLS_CHANGED rows - the timestamps cluster around when MCP Everything finished its initial handshake. Each row shows a method/topic chip, a one-line summary, and an ISO timestamp.notifications/progress records the Inspector folds into the same feed.
Server push notifications only surface here - chat will never show them, so this tab is the source of truth for what change events a server actually emits.
!!! tip “Why this tab matters” The chat surface does not surface server push notifications - they only land here. This tab is the canonical way to verify that an external server actually emits the change events it claims to before you wire that behaviour into chat-side code.
A root is a file or URI the playground (acting as the MCP client) advertises to the server as something the server may operate on. MCP Everything calls roots/list on startup; you decide what it sees.
file:///tmp/mcp-demo (any URI you want the server to see)mcp-demo (optional human-readable label)notifications/roots/list_changed to the server.
The ADD ROOT form takes a URI plus an optional human-readable label, then notifies the server via notifications/roots/list_changed so it can re-fetch the set.
!!! warning “Roots capability negotiation”
The screenshot above shows the form filled but a “Client must be configured with roots capabilities” toast - that error fires when the playground’s MCP client hasn’t declared the roots capability during initialize to the connected server. Roots advertisement is currently a partial implementation; the form + protocol path is wired, but the client-side capability advertisement is on the roadmap.
!!! note “Roots are advisory, not enforcement”
Adding a root does not grant the server filesystem access. It only tells the server “if you do filesystem-style operations, here are the URIs I’ve opted to expose.” Enforcement lives in the playground’s sandbox (safety.fs), not in the roots list. See Inspector → Roots for the spec context.
Sampling inverts the usual direction: the server asks the playground (the client) to run a model turn on its behalf, returning the assistant message back to the server. This is how a server-side agent loop can recurse into the user’s model without bringing its own API credentials.
SamplingRequestPrimitive card lands in the feed carrying the conversation messages the server wants the playground to send to a model, plus modelPreferences (cost / speed / intelligence hints).ChatClient Agentic Chat uses (the model picked in Agentic Chat → Settings → Model) and returns the assistant message to the server. The card updates with the response that was sent back.
The Sampling tab is where the two inverted primitives surface - incoming sampling/createMessage requests render as cards with Send / Decline. Elicitation has the same shape under the Elicitation tab, except the response area is a JSON-Schema-typed form instead of a model turn.
!!! note “Sampling and Elicitation routing”
The playground’s MCP client must advertise the sampling and elicitation capabilities during initialize for the server-side trigger to actually deliver a card here. Like roots, capability advertisement is on the roadmap; the tab + protocol path is wired and the trigger fires, but the round-trip to a Pending-card depends on the same negotiation pass.
!!! warning “Sampling is a human-in-the-loop gate” Sending a sampling request runs the server’s chosen prompt against your configured model - it costs tokens and produces a response the server then acts on. Send only what you would have run if you had typed the prompt yourself.
Elicitation is the third inverted primitive - the server asks the user a question mid-conversation by sending an elicitation/create request with a prompt plus a requestedSchema describing what answer it expects. The playground renders the form, the human fills it, the answer goes back.
ElicitationRequestPrimitive card lands carrying the prompt text and a form rendered from the server’s requestedSchema (same JSON-Schema-typed inputs the Tools tab uses).The card stays in the feed afterwards as an audit record of what was asked and what was answered.
You can leave MCP Everything activated - it is the right smoke test to keep around whenever you suspect the playground’s MCP client wiring regressed. To remove it:
The persisted JSON for this connection lives under ~/spring-ai-playground/mcp/save/ and only stores the activation template + ${ENV_VAR} placeholders. No tokens, no live secrets.