libfx (fx JavaScript adapter)

The fx agent core as a JavaScript library, a native Node.js addon and a WebAssembly build. libfx has no MCP client of its own and no MCP SDK dependency: createMcpAdapter from libfx/mcp takes a client the embedding application already connected and turns its tools into agent tools. The transport, handshake, clientInfo, declared capabilities and authentication all belong to that client. The fx Zig engine is switched off in the libfx core.

At a glance

Registry id libfx
Vendor Vercel Labs
Kind framework. A library an application embeds. A capability row is what a default install declares, and the embedding application can change it.
Speaks MCP via @modelcontextprotocol/sdk (sdk)
Category library
Platforms macos, linux, web
Licence Apache-2.0
Source https://github.com/vercel-labs/fx/tree/main/sdk
Home https://github.com/vercel-labs/fx/tree/main/sdk#readme
Wire names not recorded
SDK @modelcontextprotocol/sdk · official TypeScript SDK · unpatched · pins 2025-11-25
Prefers 2025-11-25
Speaks 2024-11-05, 2025-03-26, 2025-06-18, 2025-11-25
Rows describe 2025-11-25, the newest revision it speaks
Source last updated 2026-11-27
Last read 2026-11-27
Probed 0.0.0-eab1401 (see below)

Capabilities

Capability Status Known by At
Transports
  ↳ stdio ● full read 2025-11-25
  ↳ sse ● full read 2025-11-25
  ↳ streamableHttp ● full read 2025-11-25
Authentication
  ↳ oauth · untested read 2025-11-25
  ↳ header · untested read 2025-11-25
Tools ● full read 2025-11-25
  ↳ listChanged ○ unsupported read 2025-11-25
  ↳ result ● full read 2025-11-25
    ↳ content ● full read ⇧ 2025-11-25
    ↳ structuredContent ● full read ⇧ 2025-11-25
    ↳ outputSchema ○ unsupported read ⇧ 2025-11-25
    ↳ audience ○ unsupported read ⇧ 2025-11-25
    ↳ isError ● full read ⇧ 2025-11-25
    ↳ media ◐ partial read ⇧ 2025-11-25
    ↳ _meta ○ unsupported read ⇧ 2025-11-25
Resources ◇ opt-in read 2025-11-25
  ↳ listChanged ○ unsupported read 2025-11-25
  ↳ subscribe ○ unsupported read 2025-11-25
Prompts ◇ opt-in read 2025-11-25
  ↳ listChanged ○ unsupported read 2025-11-25
Completions ○ unsupported read 2025-11-25
Sampling ○ unsupported read 2025-11-25
Elicitation ○ unsupported read 2025-11-25
  ↳ form ○ unsupported read 2025-11-25
  ↳ url ○ unsupported read 2025-11-25
Roots ○ unsupported read 2025-11-25
  ↳ listChanged ○ unsupported read 2025-11-25
Logging ○ unsupported read 2025-11-25
Instructions ○ unsupported read 2025-11-25
Icons ○ unsupported read 2025-11-25
JSON Schema — not recorded
Extensions
  ↳ io.modelcontextprotocol/ui ○ unsupported read 2025-11-25
  ↳ io.modelcontextprotocol/tasks ○ unsupported read 2025-11-25
  ↳ io.modelcontextprotocol/skills ○ unsupported read 2025-11-25
  ↳ io.modelcontextprotocol/events ○ unsupported read 2025-11-25
    ↳ poll ○ unsupported read ⇧ 2025-11-25
    ↳ push ○ unsupported read ⇧ 2025-11-25
    ↳ webhook ○ unsupported read ⇧ 2025-11-25
Beyond the spec
  ↳ modelInitiatedResourceRead ○ unsupported read 2025-11-25
  ↳ toolCallCancellation ◐ partial read 2025-11-25
  ↳ requestCorrelationMeta ◇ opt-in read 2025-11-25

● full ◐ partial ◇ opt-in ○ unsupported · untested — not recorded ⇧ rests on the parent capability's evidence

Not recorded means nobody has looked, which is not the same claim as unsupported. Under tools.result, full means the field reaches the model on the default conversational path, partial means it does under a condition the notes name, and unsupported means it never does.

What the table flattens

Verified by the probe

31 records from the live probe (probe/), client version 0.0.0-eab1401. Each row is one run against the instrumented fixture server with the model mocked; a tool-result verdict says which fixture fields reached the model. Glyphs: […] content, {…} structuredContent, ⟨…⟩ the whole envelope, "…" a placeholder. Rows whose scenario starts with conformance/ come from the MCP conformance suite, run through the same adapter; their verdict counts the checks. A config name is followed by its kind when the two differ: setting is a switch the client documents, harness is probe-written code that uses an API the client leaves to the application. The scenario link opens the record; the raw captures sit next to a probe record, and a conformance link opens the run summary. Overlay: data/verified/libfx.json.

Scenario Config Run At Version Verdict
apps.visibility
app_only default stdio 2025-11-25 0.0.0-eab1401 […] and {…} (content 1x, structuredContent 1x, as json)
elicitation.form
conformance/elicitation-sep1034-client-defaults default http 2025-11-25 0.0.0-eab1401 conformance elicitation-sep1034-client-defaults at 2025-11-25: 0/6 checks pass; failed client-elicitation-sep1034-general, client-elicitation-sep1034-string-default, client-elicitation-sep1034-integer-default, client-elicitation-sep1034-number-default, client-elicitation-sep1034-enum-default, client-elicitation-sep1034-boolean-default
protocol.initializeHandshake
conformance/initialize default http 2025-06-18 0.0.0-eab1401 conformance initialize at 2025-06-18: 1/1 checks pass
conformance/initialize default http 2025-11-25 0.0.0-eab1401 conformance initialize at 2025-11-25: 1/1 checks pass
protocol.mrtr
conformance/sep-2322-client-request-state default http 2026-07-28 0.0.0-eab1401 conformance sep-2322-client-request-state at 2026-07-28: 0/4 checks pass; failed sep-2322-client-request-state-echoed, sep-2322-client-jsonrpc-id-different, sep-2322-client-no-state-omitted, sep-2322-client-parallel-isolation; client exited 1
protocol.protocolVersionHeader
conformance/request-metadata default http 2026-07-28 0.0.0-eab1401 conformance request-metadata at 2026-07-28: 0/1 checks pass; failed sep-2575-http-client-sends-version-header; client exited 1
protocol.resultType
conformance/sep-2322-client-request-state default http 2026-07-28 0.0.0-eab1401 conformance sep-2322-client-request-state at 2026-07-28: 0/1 checks pass; failed sep-2322-default-result-type-complete; client exited 1
protocol.serverDiscover
conformance/request-metadata default http 2026-07-28 0.0.0-eab1401 conformance request-metadata at 2026-07-28: 0/1 checks pass; failed sep-2575-client-retry-supported-version; client exited 1
protocol.sseResumability
conformance/sse-retry default http 2025-11-25 0.0.0-eab1401 conformance sse-retry at 2025-11-25: 3/3 checks pass
protocol.standardRequestHeaders
conformance/http-custom-headers default http 2026-07-28 0.0.0-eab1401 conformance http-custom-headers at 2026-07-28: 0/5 checks pass; failed sep-2243-client-supports-custom-headers, sep-2243-client-mirrors-designated-params, sep-2243-client-encode-values, sep-2243-client-base64-unsafe, sep-2243-client-omit-null; client exited 1
conformance/http-invalid-tool-headers default http 2026-07-28 0.0.0-eab1401 conformance http-invalid-tool-headers at 2026-07-28: 11/13 checks pass; failed sep-2243-invalid-tool-tools-list-gate, sep-2243-client-reject-invalid-tool; only absence checks passed, which a client that ignores the feature also passes; client exited 1
conformance/http-standard-headers default http 2026-07-28 0.0.0-eab1401 conformance http-standard-headers at 2026-07-28: 0/1 checks pass; failed sep-2243-client-includes-standard-headers; client exited 1
tools
conformance/tools_call default http 2025-06-18 0.0.0-eab1401 conformance tools_call at 2025-06-18: 1/1 checks pass
conformance/tools_call default http 2025-11-25 0.0.0-eab1401 conformance tools_call at 2025-11-25: 1/1 checks pass
conformance/tools_call default http 2026-07-28 0.0.0-eab1401 conformance tools_call at 2026-07-28: 0/1 checks pass; failed tool-add-numbers; client exited 1
tools.result._meta
meta_only default stdio 2025-11-25 0.0.0-eab1401 […] content only (1x, as text, _meta did not reach the model)
with_meta default stdio 2025-11-25 0.0.0-eab1401 […] and {…} (content 1x, structuredContent 1x, as json, _meta did not reach the model)
tools.result.audience
audience_user default stdio 2025-11-25 0.0.0-eab1401 […] and {…} (content 1x, structuredContent 1x, as json)
tools.result.content
empty_object default stdio 2025-11-25 0.0.0-eab1401 "…" no marker reached the model; payload: ""
large default stdio 2025-11-25 0.0.0-eab1401 "…" no marker reached the model; payload: "Host tool result exceeded the configured limit"
no_content_key default stdio 2025-11-25 0.0.0-eab1401 {…} structuredContent only (1x, as json)
tools.result.isError
is_error default stdio 2025-11-25 0.0.0-eab1401 […] and {…} (content 1x, structuredContent 1x, as json)
tools.result.media
with_image default stdio 2025-11-25 0.0.0-eab1401 […] and {…} (content 1x, structuredContent 1x, as json)
tools.result.outputSchema
schema_match default stdio 2025-11-25 0.0.0-eab1401 […] and {…} (content 1x, structuredContent 1x, as json)
schema_mismatch default stdio 2025-11-25 0.0.0-eab1401 "…" client error text, no fixture field: "Structured content does not match the tool's output schema: data must have requi"
tools.result.structuredContent
mirror default stdio 2025-11-25 0.0.0-eab1401 payload once (as json)
sc_empty default stdio 2025-11-25 0.0.0-eab1401 […] content only (1x, as json)
sc_null default stdio 2025-11-25 0.0.0-eab1401 "…" client error text, no fixture field: "Invalid result for tools/call: [\n {\n "expected": "record",\n "code": "inva"
sc_string default stdio 2025-11-25 0.0.0-eab1401 "…" client error text, no fixture field: "Invalid result for tools/call: [\n {\n "expected": "record",\n "code": "inva"
structured_only default stdio 2025-11-25 0.0.0-eab1401 {…} structuredContent only (1x, as json)
summary_and_data default stdio 2025-11-25 0.0.0-eab1401 […] and {…} (content 1x, structuredContent 1x, as json)

Research notes

Provenance

Read at b4502b01 on 2026-11-27, from main of https://github.com/vercel-labs/fx.git. That commit was authored 2026-11-27.

SDK. Host-supplied, and not a dependency. sdk/package.json has no dependencies, devDependencies or peerDependencies field, and the published libfx 0.0.17 lists only its four native-addon packages as optionalDependencies. There is no declared or resolved version to record: the application installs the SDK and passes a connected client in. sdk/types/mcp.d.ts describes the calls as the TypeScript SDK v1 signatures. 1.32.2 was the newest v1 release on npm on 2026-11-16, and it sets LATEST_PROTOCOL_VERSION to 2025-11-25. The probe supplied @modelcontextprotocol/client 2.4.0, which defaults to the initialize handshake at 2025-11-25 and reaches 2026-07-28 only when the application sets its versionNegotiation option. Nothing is patched, because nothing is installed. Published libfx versions are fx's: c3dc80c4 is 88 commits after v0.0.17.

Paths read:

Source is not vendored. To reproduce any claim above, check out that commit in the client's repository.


Generated from data/clients.json, data/verified/libfx.json by scripts/build-cards.js. Edit the registry, rerun the probe or the ingest, not this file.