Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
ai-mcp
MCPServer
Class MCPServer
Index
Constructors
constructor
Properties
client
description
error?
on
Did
Update
Status
on
Did
Update
Status
Emitter
status
transport
Methods
call
Tool
get
Description
get
Resources
get
Status
get
Tools
is
Runnning
read
Resource
set
Status
start
stop
update
Constructors
constructor
new MCPServer
(
description
)
:
MCPServer
Parameters
description
:
MCPServerDescription
Returns
MCPServer
Properties
Private
client
client
:
Client
<
{}
,
{}
,
{}
>
Type declaration
Type declaration
Type declaration
Private
description
description
:
MCPServerDescription
Private
Optional
error
error
?:
string
Readonly
on
Did
Update
Status
on
Did
Update
Status
:
Event
<
MCPServerStatus
>
= ...
Private
Readonly
on
Did
Update
Status
Emitter
on
Did
Update
Status
Emitter
:
Emitter
<
MCPServerStatus
>
= ...
Private
status
status
:
MCPServerStatus
Private
transport
transport
:
Transport
Methods
call
Tool
call
Tool
(
toolName
,
arg_string
)
:
Promise
<
{}
>
Parameters
toolName
:
string
arg_string
:
string
Returns
Promise
<
{}
>
get
Description
get
Description
(
)
:
Promise
<
MCPServerDescription
>
Returns
Promise
<
MCPServerDescription
>
get
Resources
get
Resources
(
)
:
Promise
<
{}
>
Returns
Promise
<
{}
>
get
Status
get
Status
(
)
:
MCPServerStatus
Returns
MCPServerStatus
get
Tools
get
Tools
(
)
:
Promise
<
objectOutputType
<
extendShape
<
extendShape
<
{}
,
{}
>
,
{}
>
,
ZodTypeAny
,
"passthrough"
>
>
Returns
Promise
<
objectOutputType
<
extendShape
<
extendShape
<
{}
,
{}
>
,
{}
>
,
ZodTypeAny
,
"passthrough"
>
>
is
Runnning
is
Runnning
(
)
:
boolean
Returns
boolean
read
Resource
read
Resource
(
resourceId
)
:
Promise
<
{}
>
Parameters
resourceId
:
string
Returns
Promise
<
{}
>
set
Status
set
Status
(
status
)
:
void
Parameters
status
:
MCPServerStatus
Returns
void
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
stop
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
update
update
(
description
)
:
void
Parameters
description
:
MCPServerDescription
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
client
description
error
on
Did
Update
Status
on
Did
Update
Status
Emitter
status
transport
call
Tool
get
Description
get
Resources
get
Status
get
Tools
is
Runnning
read
Resource
set
Status
start
stop
update
Theia TypeDoc
Loading...