mcp-use TypeScript API
Preparing search index...
mcp-use
index
Module index
Build stateless MCP servers with a Hono application and a Web-standard Fetch serving boundary.
Classes
MCPServer
Interfaces
CompletionContext
CorsOptions
Elicit
ExternalViewManifestEntry
FromOpenAPIOptions
InlineViewManifestEntry
ListenOptions
LoggingOptions
McpMiddlewareOperationMap
McpMount
MountMcpOptions
OpenAPIDocument
OpenAPIExcludeRule
PromptDefinition
ProxyConnection
ProxyHttpConfig
ProxyProgress
ProxyPrompt
ProxyRequestOptions
ProxyResource
ProxyTool
RequestBag
RequestClientContext
ResourceDefinition
ResourceTemplateDefinition
ServerBranding
ToolContentResult
ToolDefinition
ToolRef
ToolViewConfig
TypedCallToolResult
UserContext
ViewsManifest
WidgetResponseConfig
Type Aliases
CompletionCallback
ElicitationResult
FetchHandler
FetchMiddleware
InferPromptInput
InferTemplateParams
InferToolInput
InferToolName
InferToolOutput
LogLevel
McpCompleteEventListenerFn
McpEventListenerFn
McpEventListenerFnFor
McpEventPattern
McpEventPatternBody
McpExactMiddlewareFn
McpMiddlewareContext
McpMiddlewareFn
McpMiddlewareFnFor
McpMiddlewareMethod
McpMiddlewareMethodsForPattern
McpMiddlewareNext
McpMiddlewareParams
McpMiddlewarePattern
McpMiddlewarePatternBody
McpMiddlewarePatternMap
McpMiddlewareResult
MiddlewareContext
OAuthAuth
OpenAPIAuth
PromptCallback
PromptsGetMiddlewareContext
PromptsListMiddlewareContext
ProxyServerConfig
ReadonlyMiddlewareContext
RequestContext
ResourceCallback
ResourcesListMiddlewareContext
ResourcesReadMiddlewareContext
ResourceTemplateCallback
ResourceTemplateCompleter
ResourceTemplateCompletions
ServerConfig
TemplateVariableValue
ToolCallback
ToolResult
ToolsCallMiddlewareContext
ToolsListMiddlewareContext
UiPermissions
ViewManifestEntry
Functions
array
audio
binary
completable
composeFetch
composeMiddleware
createMcpEventListenerEntry
createMcpMiddlewareEntry
createMcpMount
css
error
getRequestBag
hostValidationMiddleware
html
image
javascript
jsonBodyMiddleware
markdown
matchesPath
matchesPathPrefix
matchesPattern
mix
object
originValidationMiddleware
pathnameOf
requestLogger
resource
text
widget
xml
References
LandingPageOptions
→
LandingPageOptions
LandingPagePrompt
→
LandingPagePrompt
LandingPageResource
→
LandingPageResource
LandingPageTool
→
LandingPageTool
NodeRequestHandler
→
NodeRequestHandler
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Classes
MCP
Server
Interfaces
Completion
Context
Cors
Options
Elicit
External
View
Manifest
Entry
From
Open
API
Options
Inline
View
Manifest
Entry
Listen
Options
Logging
Options
Mcp
Middleware
Operation
Map
Mcp
Mount
Mount
Mcp
Options
Open
API
Document
Open
API
Exclude
Rule
Prompt
Definition
Proxy
Connection
Proxy
Http
Config
Proxy
Progress
Proxy
Prompt
Proxy
Request
Options
Proxy
Resource
Proxy
Tool
Request
Bag
Request
Client
Context
Resource
Definition
Resource
Template
Definition
Server
Branding
Tool
Content
Result
Tool
Definition
Tool
Ref
Tool
View
Config
Typed
Call
Tool
Result
User
Context
Views
Manifest
Widget
Response
Config
Type Aliases
Completion
Callback
Elicitation
Result
Fetch
Handler
Fetch
Middleware
Infer
Prompt
Input
Infer
Template
Params
Infer
Tool
Input
Infer
Tool
Name
Infer
Tool
Output
Log
Level
Mcp
Complete
Event
Listener
Fn
Mcp
Event
Listener
Fn
Mcp
Event
Listener
Fn
For
Mcp
Event
Pattern
Mcp
Event
Pattern
Body
Mcp
Exact
Middleware
Fn
Mcp
Middleware
Context
Mcp
Middleware
Fn
Mcp
Middleware
Fn
For
Mcp
Middleware
Method
Mcp
Middleware
Methods
For
Pattern
Mcp
Middleware
Next
Mcp
Middleware
Params
Mcp
Middleware
Pattern
Mcp
Middleware
Pattern
Body
Mcp
Middleware
Pattern
Map
Mcp
Middleware
Result
Middleware
Context
O
Auth
Auth
Open
API
Auth
Prompt
Callback
Prompts
Get
Middleware
Context
Prompts
List
Middleware
Context
Proxy
Server
Config
Readonly
Middleware
Context
Request
Context
Resource
Callback
Resources
List
Middleware
Context
Resources
Read
Middleware
Context
Resource
Template
Callback
Resource
Template
Completer
Resource
Template
Completions
Server
Config
Template
Variable
Value
Tool
Callback
Tool
Result
Tools
Call
Middleware
Context
Tools
List
Middleware
Context
Ui
Permissions
View
Manifest
Entry
Functions
array
audio
binary
completable
compose
Fetch
compose
Middleware
create
Mcp
Event
Listener
Entry
create
Mcp
Middleware
Entry
create
Mcp
Mount
css
error
get
Request
Bag
host
Validation
Middleware
html
image
javascript
json
Body
Middleware
markdown
matches
Path
matches
Path
Prefix
matches
Pattern
mix
object
origin
Validation
Middleware
pathname
Of
request
Logger
resource
text
widget
xml
References
Landing
Page
Options
Landing
Page
Prompt
Landing
Page
Resource
Landing
Page
Tool
Node
Request
Handler
mcp-use TypeScript API
Loading...
Build stateless MCP servers with a Hono application and a Web-standard Fetch serving boundary.