API ReferenceEditor.Mcp
McpServerclass
A Model Context Protocol server embedded in the editor process, letting AI agents like Claude Code drive the editor. Speaks the streamable HTTP transport (plain JSON responses, no server initiated streams). Binds loopback only and dies with the editor - it must never be reachable from beyond this machine.
object→McpServer
Properties3
Showing 3 properties
public static bool Editor.Mcp.McpServer.IsRunning { get; set; }
Returns:
bool—public static int Editor.Mcp.McpServer.Port { get; set; }
The port we're listening on. Meaningless when not running.
Returns:
int—public static string Editor.Mcp.McpServer.Url { get; set; }
The url MCP clients should connect to, null when not running.
Returns:
string—No results match this filter.