Connections
Register a direct CLI connection
Changed onRegisters a CLI tool directly without a gateway. Auto-creates agent if name doesn't exist.
post/api/connect
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- Auth
- API key in cookie __Host-mc-session
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Connection registered
Changes
- info
endpoint added
- info