McpApp
Describes@ebitex/mcp 1.xSee the changelog:@ebitex/mcp
McpApp =
object
Properties
Section titled “Properties”id:
string
Stable lowercase id, also the prefix of every tool name the app registers.
keyHelp
Section titled “keyHelp”keyHelp:
string
Where a person mints that key, written for someone editing an MCP client’s JSON.
keyVar
Section titled “keyVar”keyVar:
string
The variable that holds the app’s management key.
label:
string
What the app is called in prose.
Methods
Section titled “Methods”isConfigured()
Section titled “isConfigured()”isConfigured(
env):boolean
True when this app’s key is present, which is the only thing that turns an app on.
Parameters
Section titled “Parameters”Record<string, string | undefined>
Returns
Section titled “Returns”boolean
start()
Section titled “start()”start(
context):Promise<StartedApp>
Resolves the key against the API and builds the app. Throws StartupError or ConfigError.
Parameters
Section titled “Parameters”context
Section titled “context”Returns
Section titled “Returns”Promise<StartedApp>