Skip to main content
Glama
mcp-feature-test

mcp-feature-test

by linuxrrze

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHTTP mode: bind address. Use `0.0.0.0` in containers.127.0.0.1
PORTNoHTTP mode: listen port. `0` picks a free port, and the actual URL is logged.3457
FLOW_HOSTNostdio mode: bind address of the URL-elicitation page listener. Use `0.0.0.0` in Docker.127.0.0.1
FLOW_PORTNostdio mode: port for the URL-elicitation pages. Falls back to a free port with a warning if it is busy. `0` always picks a free port.3458
LOG_LEVELNoBoth modes: log level. One of `debug`, `info`, `warn`, `error`, or `silent`.info
LOG_FORMATNoBoth modes: log format. `text` for readable multi-line capability tables, or `json` for one JSON object per line.text
PUBLIC_URLNoHTTP mode: externally visible base URL, without `/mcp`. Used for URL-elicitation links. Also enables localhost Host/Origin validation when it points at `localhost`/`127.0.0.1`.http://<HOST>:<PORT>
FLOW_WAIT_MSNoBoth modes: how long `elicit_url` / `elicit_url_legacy_push` wait for the browser page after the client already answered `accept`.300000
ALLOWED_HOSTSNoHTTP mode: comma-separated hostnames accepted in the `Host` and `Origin` headers, for example `mcp.example.com`. When unset, localhost names are enforced if `HOST` or `PUBLIC_URL` is local; otherwise the `PUBLIC_URL` hostname plus the localhost names are accepted. Set it when clients use another name, for example a Docker service name.
FLOW_PUBLIC_URLNostdio mode: base URL that URL-elicitation links point to, when the browser has to use a different address or port.http://<FLOW_HOST>:<port>
UPLOAD_MAX_BYTESNoBoth modes: largest decoded file `dialog_lab_upload` and `upload_file_experimental` accept. Also sizes the HTTP request-body limit and the stdio message buffer.10485760

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Test server for MCP user-interaction features. Call the tools when the user wants to try dialogs: elicit_* tools show native client dialogs (elicitation), open_dialog_lab shows an interactive HTML UI (MCP Apps), pick_color asks the user for a colour in a small app (fetch the answer with pick_color_result), return_files returns files in every content form, sample_llm asks the client’s own LLM (sampling), list_roots lists the client’s folders (roots), change_lists and update_live_resource test list_changed notifications and resource subscriptions, run_task runs a long job as a task (tasks). Call inspect_client first to see what the current client supports.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    }
  }
}
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": true,
  "listChanged": true
}
extensions
{
  "io.modelcontextprotocol/files": {
    "maxInlineBytes": 10485760
  },
  "io.modelcontextprotocol/tasks": {}
}
completions
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
inspect_clientA

Report the protocol version, client info and declared client capabilities (elicitation form/url, MCP Apps UI extension, sampling, roots). Use it to check what the current frontend supports.

list_seen_clientsA

List every distinct client (name, version, protocol version, transport, capabilities) that has talked to this server process since it started, most recent first. Useful when testing several frontends against one HTTP server.

elicit_confirmA

Ask the user to confirm a (fake, harmless) destructive action via a native yes/no elicitation dialog. Demonstrates accept / decline / cancel handling.

elicit_all_field_typesB

Show one elicitation form containing every field type allowed by the spec: string (min/max length), formats (email, uri, date, date-time), integer, number, boolean, single-select enums (untitled, titled, legacy enumNames) and multi-select enums, with defaults. Use variant to test subsets.

elicit_parallelA

Request two independent elicitations in a single input_required round. Tests how a client handles several pending input requests (modern clients may show them together; legacy clients one after the other).

elicit_wizardA

Order an imaginary pizza through a 3-step dialog wizard. Step 2 depends on step 1 (number of toppings depends on size), step 3 shows a summary for confirmation. Demonstrates chained elicitations with signed requestState.

elicit_urlA

Ask the client to open a local web page where the user enters a fake API token (simulates OAuth / secret entry that must not pass through the client or model). The tool then confirms the server received it (masked).

elicit_url_legacy_pushA

Same as elicit_url but uses the 2025-11-25 push-style elicitation/create request and sends notifications/elicitation/complete when the page is submitted. Only works on 2025-era connections; useful to test clients that implement completion notifications.

slow_taskB

Run a fake long task that reports progress notifications and log messages, and stops early when the client cancels it.

elicit_format_probeA

Show form-elicitation dialogs that use schema features OUTSIDE the MCP spec (format "color", format "time", a regex pattern, a nested object, a free-text array, a file-like data-url field), one dialog per probe, and report what the client did with each. variant picks one probe; "all" runs them one after another.

return_filesA

Return one tool result containing every way MCP can hand a file to a client: an embedded text resource (CSV), embedded blob resources (PNG and PDF), a resource_link (fetched via resources/read), an image block and an audio block (WAV). The first text block lists them, so you can see which ones the client dropped.

upload_file_experimentalA

EXPERIMENTAL, not part of the MCP spec: a tool whose "file" argument is marked with x-mcp-file, following the draft of the io.modelcontextprotocol/files extension (inline base64 only, no out-of-band upload). Returns the size and SHA-256 of the received file; nothing is stored.

open_dialog_labA

Open the "Dialog Lab": an interactive graphical dialog (MCP Apps / ui:// resource) with a colour picker, slider, star rating, drag-to-reorder list and drawing canvas. The user can submit the result to the server, send it as a chat message, or put it into the model context. Use dialog_lab_results afterwards to read what the user submitted.

dialog_lab_submitA

Called by the Dialog Lab UI to store the user's answers. Hidden from the model.

dialog_lab_uploadA

Called by the Dialog Lab UI with a base64-encoded file. Returns its size and SHA-256; the content is not stored or logged. Limit: 10.00 MiB (UPLOAD_MAX_BYTES). Hidden from the model.

dialog_lab_resultsB

Return what users submitted in the Dialog Lab graphical dialog (most recent first).

pick_colorA

Show a colour picker (MCP App) that asks the user a question; the user may also choose an opacity (the answer is then #rrggbbaa). The call returns immediately; the user answers afterwards. The answer reaches you as a chat message or model context, or call pick_color_result to read it.

pick_color_submitA

Called by the colour picker UI to store the user's answer (OK or Cancel). Hidden from the model.

pick_color_resultA

Return the answer to a pick_color question: the colour, "cancelled", or "still waiting". Without requestId the most recent pick_color request is used.

view_3dA

Show an interactive 3D viewer (MCP App, three.js) the user can rotate, zoom and click. Shapes: knot, sphere, gear, glb-sample (glb-sample is a small glTF model read from test://models/sample.glb). Optionally set the camera and highlight one part. When the user selects a part it reaches you as model context or a chat message; view_3d_state reads the latest selection.

view_3d_selectA

Called by the 3D viewer when the user selects a part (or clears the selection), with the current camera. Hidden from the model.

view_3d_stateA

Return the part the user selected in a view_3d viewer and the camera at that moment, or "nothing selected yet". Without viewId the most recent view is used.

sample_llmA

Send a sampling/createMessage request: the client runs its own LLM for this server (it should let the user review the request first) and returns the reply. Reports the reply, the model the client chose and the stop reason. Options: system prompt, model hint, maxTokens, temperature, includeContext, an image input, and useTools (the 2025-11-25 tool loop with a count_letters tool).

list_rootsA

Send a roots/list request and report the folders (file:// roots) the client exposes to this server, whether each path exists on the machine running the server, and how many notifications/roots/list_changed the client has sent. Reads nothing inside the folders.

structured_outputA

Return a fake build report as structuredContent, declared by an outputSchema. Variants: object (valid data plus the same JSON as text, as the spec recommends), data_only (valid data, no text block at all), text_differs (the text block reports different numbers than the data), invalid (data that violates the outputSchema), error (an isError result without structuredContent, which the spec allows).

structured_output_arrayA

Return a list of metrics whose outputSchema has an array root. Allowed on 2026-07-28 (SEP-2106); on 2025-era connections the schema and the value arrive wrapped as {"result": [...]}.

change_listsA

Add or remove a dynamic tool (dynamic_tool_N), prompt (dynamic_prompt_N) and resource (test://dynamic/N), at most 3 each, and send the matching notifications/*/list_changed. Then check whether the client’s tool, prompt and resource lists update by themselves. The lists are shared by all clients of this server; action=reset removes every dynamic item.

update_live_resourceA

Increase the counter in test://live/counter and send notifications/resources/updated for it. Subscribe first (resources/subscribe on 2025-era connections, a subscriptions/listen stream with resourceSubscriptions on 2026-07-28), then check whether the client re-reads it.

run_taskA

Run a fake long job. Clients with task support get a task handle at once and poll it (tasks/get); others wait for the result. Options: seconds, steps, outcome (success, tool_error, failure) and askConfirmation (pauses halfway for a yes/no: task status input_required).

run_task_requiredA

Same fake job as run_task, but declared execution.taskSupport "required": the client must call it as a task. Without task support it fails (-32601 on 2025-era, -32021 on 2026-07-28).

Prompts

Interactive templates invoked by user choice

NameDescription
try_all_dialogsA prompt that walks the assistant through every interactive feature of this server.

Resources

Contextual data attached and managed by the client

NameDescription
Dialog LabInteractive HTML dialog rendered by MCP-Apps-capable hosts
Colour pickerA colour picker (hue wheel, square, values, image sampling, palettes) that asks the user one question
3D viewerInteractive three.js viewer (orbit, zoom, pick parts) and host-capability probe
Sample 3D modelA small glTF binary generated in code with the named meshes base, tower, roof, flag; the 3D viewer reads it with resources/read
live-counterChanges every time update_live_resource runs. Subscribe to it to get notifications/resources/updated.
sample.csvThree rows of CSV (text resource)
gradient.png32×32 PNG image (blob resource)
sample.pdfOne-page PDF (non-image blob resource)
beep.wav0.4 s 440 Hz tone, 8 kHz 8-bit mono WAV
linked-notes.mdMarkdown file that is only returned as a resource_link

TDQS

A3.5/5.0

Scored across 30 tools

Disambiguation3/5

The set is organized into clear feature clusters, but several tools overlap heavily within those clusters: six elicitation probes, multiple task runners, and paired UI action/result tools. The detailed descriptions do distinguish each test target, but an agent must read carefully to avoid selecting the wrong variant.

Naming Consistency3/5

All names use snake_case, but the convention mixes verb-first names (elicit_confirm, open_dialog_lab) with noun-first names (dialog_lab_submit, pick_color_result, view_3d_state) and bare noun names (slow_task, structured_output). The domain prefixes are readable, but there is no single predictable verb_noun pattern throughout.

Tool Count3/5

Thirty tools is heavy for an MCP server, though the broad protocol-feature-testing scope justifies many of them. The surface is inflated by per-variant probes and hidden UI callback tools, making it borderline rather than well-scoped.

Completeness4/5

Coverage is broad across elicitation, tasks, resources, sampling, roots, structured output, MCP Apps UI, dynamic list changes, and experimental file handling. Minor gaps remain around general prompt/resource lifecycle tools and completion/autocomplete testing, but the stated feature-testing purpose is largely covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues