Overview
SDK errors cover a broad range of internal failures across the FrontMCP SDK — flow execution, server configuration, skill management, serverless handlers, Vercel KV, and more. Most are internal errors exceptMissingPromptArgumentError (documented under Validation Errors).
Flow Errors
FlowExitedWithoutOutputError
Thrown when a flow completes all stages without producing output.FlowInputMissingError
Thrown when a flow stage receives missing or undefined input.Server & Configuration Errors
ServerNotFoundError
Thrown when no MCP server is found.ConfigNotFoundError
Thrown when a configuration file is not found at the expected path.ScopeConfigurationError
Thrown when the scope configuration is invalid.RequiredConfigUndefinedError
Thrown when a required configuration value is undefined.Session & Auth Errors
SessionVerificationFailedError
Thrown when session verification fails.Context Errors
ContextExtensionNotAvailableError
Thrown when a context extension (e.g.,this.remember) is not available, typically because the required plugin is not installed.
InvokeStateMissingKeyError
Thrown when an invoke state key is missing during flow execution.Skill Errors
SkillSessionError
Thrown when a skill session operation fails.InvalidSkillError
Thrown when a skill definition is invalid.SkillInstructionFetchError
Thrown when fetching remote skill instructions fails.InvalidInstructionSourceError
Thrown when an instruction source is invalid.Serverless Errors
ServerlessHandlerNotInitializedError
Thrown when a serverless handler is accessed before initialization.Adapter Errors
DynamicAdapterNameError
Thrown when a dynamic adapter has a name conflict.Agent SDK Errors
AgentConfigKeyNotFoundError
Thrown when an agent configuration key is not found.AgentToolExecutionError
Thrown when an agent’s tool execution fails.AgentMethodNotAvailableError
Thrown when an agent method is not available.Internal Utility Errors
DependencyNotFoundError
Thrown when a required dependency is not found in a registry during initialization.GenericServerError
A general-purpose internal error wrapper. Used bytoMcpError() to wrap unknown errors.
GlobalConfigNotFoundError
Thrown when a plugin requires global configuration that is not defined in the@FrontMcp decorator.
RequestContextNotAvailableError
Thrown when code attempts to accessRequestContext outside a request scope (without AsyncLocalStorage context).