MCPServer
Agent Runtimes / types/mcp / MCPServer
Interface: MCPServer
Defined in: types/mcp.ts:23
Configuration for an MCP server.
Properties
args
args:
string[]
Defined in: types/mcp.ts:41
Command arguments for the MCP server
command?
optionalcommand?:string
Defined in: types/mcp.ts:39
Command to run the MCP server (e.g., 'npx', 'uvx')
description?
optionaldescription?:string
Defined in: types/mcp.ts:31
Server description
emoji?
optionalemoji?:string
Defined in: types/mcp.ts:51
Emoji identifier for the server
enabled
enabled:
boolean
Defined in: types/mcp.ts:35
Whether the server is enabled
icon?
optionalicon?:string
Defined in: types/mcp.ts:49
Icon identifier for the server
id
id:
string
Defined in: types/mcp.ts:25
Unique server identifier
isAvailable
isAvailable:
boolean
Defined in: types/mcp.ts:43
Whether the server is available (based on tool discovery)
name
name:
string
Defined in: types/mcp.ts:29
Display name for the server
requiredEnvVars?
optionalrequiredEnvVars?:string[]
Defined in: types/mcp.ts:47
Environment variables required by this server (e.g., API keys)
tools
tools:
MCPServerTool[]
Defined in: types/mcp.ts:37
List of available tools
transport
transport:
"http"|"stdio"
Defined in: types/mcp.ts:45
Transport type: 'stdio' or 'http'
url
url:
string
Defined in: types/mcp.ts:33
Server URL (for HTTP-based servers)
version?
optionalversion?:string
Defined in: types/mcp.ts:27
Version