# Editor.EditorPreferences.McpServerEnabled

```csharp
static bool McpServerEnabled { get; set; }
```

Serve the Model Context Protocol from inside the editor, letting AI agents like Claude Code
read and drive the open project. Only ever reachable from this machine.

Declared in [Editor.EditorPreferences](/api/Editor.EditorPreferences).
Assembly: `Sandbox.Tools`.
