AppContext
Describes@ebitex/mcp 1.xSee the changelog:@ebitex/mcp
AppContext =
object
What every app is handed.
Properties
Section titled “Properties”baseUrl
Section titled “baseUrl”baseUrl:
string
Origin only. Each app appends its own route prefix.
env:
Record<string,string|undefined>
The environment the server was launched with, so an app reads its own variables.
fetchImpl?
Section titled “fetchImpl?”
optionalfetchImpl?: typeoffetch
Substituted by tests. Defaults to the global fetch.
readOnly
Section titled “readOnly”readOnly:
boolean
An operator’s declaration that this session must not write, whatever its keys could do.
serverVersion
Section titled “serverVersion”serverVersion:
string
Reported by an app that tells an agent which build it is talking to.