Agent / API
foldkit-agent-mcp
foldkit-agent-mcp -- serves a Foldkit agent contract over MCP.
The protocol mapping is a transport-free message handler, so it can be tested
by handing it JSON-RPC messages. stdio attaches it to a process.
Namespaces
Values
Interfaces
AuthenticateDefect | authenticate died or threw; the request was answered 500 and the client told nothing of it. |
CapabilityDefect | A capability's dispatch died; the call was answered a tool error naming no cause. |
HttpHandler | |
HttpHandlerOptions | |
HttpRequest | A transport-neutral request, so this can sit behind any HTTP server. |
HttpResponse | |
Notification | |
Request | |
RequestDefect | Handling a request threw (a projection, a resource read); it was answered an internal error. |
SseEvent | One server-sent event. id is the cursor a client resumes from. |
SseStream | An open SSE stream. |
ToolListDefect | Listing the available tools threw while the Model changed, so no tools/list_changed was sent. |
TransportEndDefect | A client transport's end threw while its session was dropped; the session ended regardless. |
Unauthenticated | Why authenticate refused a caller: answered as a 401 with reason. Remote's RemoteUnauthenticated (RemoteServer.unauthenticated(reason)) is one, so the… |
Types
AgentMcpDiagnostic | Every diagnostic foldkit-agent-mcp reports. |
HttpAppOptions | Either the options to create a handler, or an existing handler to reuse so sessions can be shared. Not both: a reused handler would ignore the rest. |
Id | The slice of JSON-RPC 2.0 that MCP uses. |
Response | |