Matlab MCP keeps asking for permission to run tool nomatter what I do
What version of the Codex App are you using (From “About Codex” dialog)?
vscode codex extension version 26.5409.20454
What subscription do you have?
Pro
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What issue are you seeing?
No matter in which way I change the settings matlab MCP server keeps asking permission to run tool "evaluate_matlab_code" every single time. It breaks codex workflow. I am sitting here pressing enter like a monkey.
<img width="1895" height="804" alt="Image" src="https://github.com/user-attachments/assets/bfdfc7a3-bd29-402f-bd97-565d3271a248" />
<img width="1895" height="804" alt="Image" src="https://github.com/user-attachments/assets/90189fbb-8afb-427c-9766-8ecf5594e51c" />
What steps can reproduce the bug?
model = "gpt-5.4"
model_reasoning_effort = "xhigh"
approval_policy = "never"
sandbox_mode = "workspace-write"
[windows]
sandbox = "unelevated"
[mcp_servers.matlab]
command = "C:\\Users\\eich_j0\\AppData\\Local\\MathWorks\\matlab-mcp-core-server-win64.exe"
args = [
"--matlab-root=C:\\Program Files\\MATLAB\\R2024b",
"--initialize-matlab-on-startup=true",
"--matlab-display-mode=desktop",
"--initial-working-folder=C:\\Users\\eich_j0\\Documents\\claude_code_matlab\\JGCD_Open_Source_Benchmark_Model_for_AFS\\matlab"
]
env = {}
startup_timeout_sec = 30
tool_timeout_sec = 180
enabled = true
cwd = 'C:\Users\eich_j0\Documents\claude_code_matlab\JGCD_Open_Source_Benchmark_Model_for_AFS\matlab'
What is the expected behavior?
To just run matlab mcp look at the results and iterate like claude code does correctly.
Additional information
PLEASE FIX
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗