Connect to NeoLoad MCP server
The NeoLoad Model Context Protocol (MCP) server lets AI assistants, such as Claude Code or Cursor, read and edit your NeoLoad projects. It runs on the same embedded server as the REST APIs and uses the same port and security settings.
This topic explains how to configure your AI assistant to connect to the NeoLoad MCP server, check the connection, and configure action confirmations.
Before you start
Before you connect, make sure you use NeoLoad 2026.3 or later and an AI assistant that supports MCP, such as Claude Code or Cursor.
In the REST APIs general settings, confirm the following:
-
You've enabled the MCP server.
-
If your AI assistant runs on another machine, you've set the access to This computer and remote machines.
-
If you enable identification, you've added an API key for your AI assistant in the Identification section.
Configure your AI assistant
By default, your AI assistant connects to the NeoLoad MCP server at the following URL: http://localhost:7400/mcp/http.
If your AI assistant runs on another machine, replace localhost with the name or IP address of the NeoLoad machine. If you changed the REST API port, replace 7400 with your port.
The configuration steps depend on your AI assistant.
In your Cursor MCP configuration file, mcp.json, add the following server:
{
"mcpServers": {
"nlgui": {
"url": "http://localhost:7400/mcp/http",
"headers": { "Authorization": "Bearer <API_KEY>" }
}
}
}
Replace <API_KEY> with your API key.
Keep the server name short. Cursor limits the combined length of the MCP server name and the action name to 60 characters. This example uses nlgui as the server name.
In a terminal, run the following command:
claude mcp add --transport http nlgui http://localhost:7400/mcp/http --header "Authorization: Bearer <API_KEY>"
Replace <API_KEY> with your API key.
Check the connection
After you configure your AI assistant, check that it connects to the NeoLoad MCP server. Ask your AI assistant to list its NeoLoad tools. If the connection works, it will list the NeoLoad MCP actions as tools.
Configure action confirmations
Some MCP actions require confirmation before they change your project. For example, when the AI assistant wants to delete elements or servers, apply framework parameters, or replace recorded values with a variable. Usually, your AI assistant shows you these questions.
Some AI assistants decline these questions automatically. Claude Code in the Claude Desktop app does, so the MCP actions that need your confirmation don't work there. To fix this, enable chat confirmations. NeoLoad then tells your AI assistant to ask you in the chat and show you a preview of the change.
In the Claude Code command-line interface, you don't need chat confirmations. These actions work without them.
The neoload_local-file_read action has no chat confirmation. For security reasons, if your AI assistant can't show NeoLoad's questions, this action fails.
Enable chat confirmations
To enable chat confirmations for Claude Code desktop, follow these steps:
-
In the [AI] section of controller.properties, add the following key:
Copy[AI]
mcp.elicitation.checkForIncompatibleClientsByName=true -
Restart NeoLoad.
When you set this key to true, NeoLoad uses chat confirmations for the AI assistants in the mcp.elicitation.incompatibleClients key. By default, this list contains only Claude Code desktop: (claude desktop, with an opening parenthesis and no closing one.
To add other AI assistants that decline NeoLoad's questions automatically, add the mcp.elicitation.incompatibleClients key with their names, separated by commas. Your list replaces the default value, so keep (claude desktop in it to keep Claude Code desktop. For example:
mcp.elicitation.incompatibleClients=(claude desktop, <assistant name>
Make Claude Code ask for your permission
If you enable chat confirmations, Claude Code can skip the question in the chat and confirm the change without your approval. We recommend that you set Claude Code to ask for your permission before it runs the NeoLoad confirmation actions. That way, Claude Code can't confirm a change without your approval.
Add the following configuration to .claude/settings.json for one project, or to ~/.claude/settings.json for all projects:
{
"permissions": {
"ask": [
"mcp__nlgui__neoload_element_delete-confirm",
"mcp__nlgui__neoload_server_delete-confirm",
"mcp__nlgui__neoload_framework-parameter_search-and-apply-confirm",
"mcp__nlgui__neoload_variable-extractor_apply"
]
}
}
If you used a different server name, replace nlgui with it.
What's next
Explore the MCP actions to see which design tasks your AI assistant can do for you.