Local MCP server configuration

nRF Connect for VS Code

tags
nRF Connect for VS Code

The extension runs a local MCP server on localhost.

The following table lists local MCP server settings, available under Extensions > nRF Connect > MCP Server:

Setting Description
nrf-connect.mcp.local.enabled Enable or disable the local nRF Connect MCP server. When enabled, the extension starts a web server listening on localhost. Default: enabled (true).
nrf-connect.mcp.local.port TCP port used by the local MCP server. Default: 60219. Valid range: 1024 to 65535. If the port is in use, the extension selects a random available port.

Changing the local MCP server settings requires a restart of the extension to take effect.

You can check the local MCP server settings in the nRF Connect: MCP Server output channel in the Panel View.

Tip

  • Visual Studio Code also provides MCP management commands, for example to see configured servers. Open the Command Palette and type MCP: to list them.