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
AgentMcp | |
jsonRpcCode | The codes MCP relies on. |
Values
UNPARSEABLE_BODY | The body of a POST whose JSON text could not be parsed. |
Interfaces
HttpHandler | |
HttpHandlerOptions | |
HttpRequest | A transport-neutral request, so this can sit behind any HTTP server. |
HttpResponse | |
Notification | |
Request | |
SseEvent | One server-sent event. id is the cursor a client resumes from. |
SseStream | An open SSE stream. |
Unauthenticated | Why authenticate refused a caller: answered as a 401 with reason. Remote's RemoteUnauthenticated (RemoteServer.unauthenticated(reason)) is one, so the… |
Types
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 |