# Editor.EditorPreferences.McpServerPort

```csharp
static int McpServerPort { get; set; }
```

The local port the MCP server listens on.

Declared in [Editor.EditorPreferences](/api/Editor.EditorPreferences).
Assembly: `Sandbox.Tools`.
