MCP TypeScript SDK
Preparing search index...
@modelcontextprotocol/server
server/mcp
RegisteredPrompt
Type Alias RegisteredPrompt
type
RegisteredPrompt
=
{
argsSchema
?:
AnyObjectSchema
;
callback
:
PromptCallback
<
undefined
|
PromptArgsRawShape
>
;
description
?:
string
;
enabled
:
boolean
;
title
?:
string
;
disable
()
:
void
;
enable
()
:
void
;
remove
()
:
void
;
update
<
Args
extends
ZodRawShapeCompat
>
(
updates
:
{
argsSchema
?:
Args
;
callback
?:
PromptCallback
<
Args
>
;
description
?:
string
;
enabled
?:
boolean
;
name
?:
string
|
null
;
title
?:
string
;
}
,
)
:
void
;
}
Index
Properties
args
Schema?
callback
description?
enabled
title?
Methods
disable
enable
remove
update
Properties
Optional
args
Schema
argsSchema
?:
AnyObjectSchema
callback
callback
:
PromptCallback
<
undefined
|
PromptArgsRawShape
>
Optional
description
description
?:
string
enabled
enabled
:
boolean
Optional
title
title
?:
string
Methods
disable
disable
()
:
void
Returns
void
enable
enable
()
:
void
Returns
void
remove
remove
()
:
void
Returns
void
update
update
<
Args
extends
ZodRawShapeCompat
>
(
updates
:
{
argsSchema
?:
Args
;
callback
?:
PromptCallback
<
Args
>
;
description
?:
string
;
enabled
?:
boolean
;
name
?:
string
|
null
;
title
?:
string
;
}
,
)
:
void
Type Parameters
Args
extends
ZodRawShapeCompat
Parameters
updates
:
{
argsSchema
?:
Args
;
callback
?:
PromptCallback
<
Args
>
;
description
?:
string
;
enabled
?:
boolean
;
name
?:
string
|
null
;
title
?:
string
;
}
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
args
Schema
callback
description
enabled
title
Methods
disable
enable
remove
update
MCP TypeScript SDK
Loading...