Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
ai-mcp
MCPServer
Class MCPServer
Index
Constructors
constructor
Properties
args?
autostart?
client
command
env?
error?
name
on
Did
Update
Status
on
Did
Update
Status
Emitter
status
Methods
call
Tool
get
Description
get
Status
get
Tools
is
Runnning
set
Status
start
stop
update
Constructors
constructor
new MCPServer
(
description
)
:
MCPServer
Parameters
description
:
MCPServerDescription
Returns
MCPServer
Properties
Private
Optional
args
args
?:
string
[]
Private
Optional
autostart
autostart
?:
boolean
Private
client
client
:
Client
<
{}
,
{}
,
objectOutputType
<
{}
,
ZodTypeAny
,
"passthrough"
>
>
Type declaration
Type declaration
Private
command
command
:
string
Private
Optional
env
env
?:
{
[
key
:
string
]
:
string
;
}
Type declaration
[
key
:
string
]:
string
Private
Optional
error
error
?:
string
Private
name
name
:
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
= MCPServerStatus.NotRunning
Methods
call
Tool
call
Tool
(
toolName
,
arg_string
)
:
Promise
<
objectOutputType
<
extendShape
<
{}
,
{}
>
,
ZodTypeAny
,
"passthrough"
>
|
objectOutputType
<
extendShape
<
{}
,
{}
>
,
ZodTypeAny
,
"passthrough"
>
>
Parameters
toolName
:
string
arg_string
:
string
Returns
Promise
<
objectOutputType
<
extendShape
<
{}
,
{}
>
,
ZodTypeAny
,
"passthrough"
>
|
objectOutputType
<
extendShape
<
{}
,
{}
>
,
ZodTypeAny
,
"passthrough"
>
>
get
Description
get
Description
(
)
:
Promise
<
MCPServerDescription
>
Returns
Promise
<
MCPServerDescription
>
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
set
Status
set
Status
(
status
)
:
void
Parameters
status
:
MCPServerStatus
Returns
void
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
stop
(
)
:
void
Returns
void
update
update
(
description
)
:
void
Parameters
description
:
MCPServerDescription
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
args
autostart
client
command
env
error
name
on
Did
Update
Status
on
Did
Update
Status
Emitter
status
call
Tool
get
Description
get
Status
get
Tools
is
Runnning
set
Status
start
stop
update
Theia TypeDoc
Loading...