Skip to content

McpStdioServerConfig ​

ts
type McpStdioServerConfig = object;

An MCP server started as a local process, once per investigation.

Properties ​

name ​

ts
name: string;

Unique per investigation; letters, digits, _ and -. Tools are exposed to the AI as <name>__<tool>.


type ​

ts
type: "stdio";

command ​

ts
command: string;

Executable to start, e.g. 'npx'.


args? ​

ts
optional args?: string[];

Arguments for command, e.g. ['some-db-mcp'].


env? ​

ts
optional env?: Record<string, string>;

Environment for the process, the place for its secrets; with cursor, sent to Cursor.


cwd? ​

ts
optional cwd?: string;

Ignored by cursor, which runs the command inside its cloud VM.


allowedTools? ​

ts
optional allowedTools?: string[];

Tools the AI may call. Omitted means every tool the server exposes. Not supported by cursor.