Directories
¶
| Path | Synopsis |
|---|---|
|
Command curated is DESIGN_SPEC.md §4's second snippet's shape made runnable: one expression imports a REST backend with mcp.FromREST, curates it with Only and Fix - addressed by the Go field paths the snippet uses - and hands it to mcp.Main.
|
Command curated is DESIGN_SPEC.md §4's second snippet's shape made runnable: one expression imports a REST backend with mcp.FromREST, curates it with Only and Fix - addressed by the Go field paths the snippet uses - and hands it to mcp.Main. |
|
Command deploy is a container-ready MCP server: the shape docs/deployment.md recommends for a Streamable HTTP service behind a platform probe.
|
Command deploy is a container-ready MCP server: the shape docs/deployment.md recommends for a Streamable HTTP service behind a platform probe. |
|
gallery
|
|
|
approval
command
Command approval serves one destructive tool beside one read-only tool and proves the E26 approval gate through the public pipeline: the read-only tool runs with nobody asked, and the destructive tool runs only once the calling client confirms it - mcp.WithClientApproval asks every client that declares elicitation "approve this destructive operation: publish", and denies a client that cannot be asked.
|
Command approval serves one destructive tool beside one read-only tool and proves the E26 approval gate through the public pipeline: the read-only tool runs with nobody asked, and the destructive tool runs only once the calling client confirms it - mcp.WithClientApproval asks every client that declares elicitation "approve this destructive operation: publish", and denies a client that cannot be asked. |
|
binary
command
Command binary serves one tool returning binary bytes as an io.Reader: the adapter renders the stream as one embedded octet-stream blob.
|
Command binary serves one tool returning binary bytes as an io.Reader: the adapter renders the stream as one embedded octet-stream blob. |
|
composite
command
Command composite serves one ordinary typed composite tool beside its two constituent tools: reading the shelf and fetching one book compose into a reading summary.
|
Command composite serves one ordinary typed composite tool beside its two constituent tools: reading the shelf and fetching one book compose into a reading summary. |
|
import
command
Command import proxies a typed specification end to end: a ledger-shaped REST backend described the iqlink way is imported by mcp.FromREST and served over stdio - the typed-import half of DESIGN_SPEC.md K46's import scenarios, dependency-free and offline.
|
Command import proxies a typed specification end to end: a ledger-shaped REST backend described the iqlink way is imported by mcp.FromREST and served over stdio - the typed-import half of DESIGN_SPEC.md K46's import scenarios, dependency-free and offline. |
|
job
command
Command job serves a long-running job as a streaming tool: the Go implementation returns an iter.Seq of progress strings and the adapter accumulates the elements into the result, reporting progress per element.
|
Command job serves a long-running job as a streaming tool: the Go implementation returns an iter.Seq of progress strings and the adapter accumulates the elements into the result, reporting progress per element. |
|
mux
command
Command mux mounts the package's Streamable HTTP handler inside an existing net/http mux: the MCP server lives beside the application's own routes - here a /healthz liveness probe, which mcp.WithHealthPath gives only to a listener mcp.Main owns - instead of owning the listener.
|
Command mux mounts the package's Streamable HTTP handler inside an existing net/http mux: the MCP server lives beside the application's own routes - here a /healthz liveness probe, which mcp.WithHealthPath gives only to a listener mcp.Main owns - instead of owning the listener. |
|
offline
command
Command offline drives a server with the testing harness (mcptest) and nothing else: no listener, no network, no subprocess.
|
Command offline drives a server with the testing harness (mcptest) and nothing else: no listener, no network, no subprocess. |
|
openapi
command
Command openapi binds one OpenAPI JSON document as a runtime-linkable API value and serves it over stdio - DESIGN_SPEC.md K46's "OpenAPI-to-MCP in 10 lines", dependency-free and offline.
|
Command openapi binds one OpenAPI JSON document as a runtime-linkable API value and serves it over stdio - DESIGN_SPEC.md K46's "OpenAPI-to-MCP in 10 lines", dependency-free and offline. |
|
search
command
Command search serves a paginated, read-only search tool over an in-memory catalogue: page and per_page arguments slice the matches, and the result carries the total so the caller can page to the end.
|
Command search serves a paginated, read-only search tool over an in-memory catalogue: page and per_page arguments slice the matches, and the result carries the total so the caller can page to the end. |
|
Package main is the S3-09 static-generation example (ADR 0036 § static generation): the generated model in api_gen.go is committed source produced from spec.json by the iqmcp gen command below - never hand-written, never fetched from the network.
|
Package main is the S3-09 static-generation example (ADR 0036 § static generation): the generated model in api_gen.go is committed source produced from spec.json by the iqmcp gen command below - never hand-written, never fetched from the network. |
|
Command github is DESIGN_SPEC.md K46's "GitHub via rest.Import" example and D17's one-line promise made runnable: a GitHub-shaped REST API imported by mcp.FromREST and served over stdio.
|
Command github is DESIGN_SPEC.md K46's "GitHub via rest.Import" example and D17's one-line promise made runnable: a GitHub-shaped REST API imported by mcp.FromREST and served over stdio. |
|
Command quickstart is DESIGN_SPEC.md §4's first snippet, made runnable: the Weather structure and the one-line mcp.Main call serve stdio exactly as the specification writes them - protocol frames on stdout, run with no flags, or Streamable HTTP with -addr host:port.
|
Command quickstart is DESIGN_SPEC.md §4's first snippet, made runnable: the Weather structure and the one-line mcp.Main call serve stdio exactly as the specification writes them - protocol frames on stdout, run with no flags, or Streamable HTTP with -addr host:port. |
Click to show internal directories.
Click to hide internal directories.