Question
I am seeing the following warning when evaluating MATLAB code from Claude Code/Codex:
Warning: Directory access failure: ~/Documents/MATLAB/
This happens when I try to access files in my userpath.
OS: macOS
Any suggestions would be appreciated.
What have you tried?
I have granted full disk access to my MATLAB R2025b (which is used by the MCP Server) in macOS settings.
I have also tried to give access to these locations in Codex, but those settings do not seem to carry over to the MCP server.
MATLAB Release
R2025b
Agent Platform
Claude Desktop, Codex Desktop
Other Agent Platform
No response
Question
I am seeing the following warning when evaluating MATLAB code from Claude Code/Codex:
Warning: Directory access failure: ~/Documents/MATLAB/
This happens when I try to access files in my
userpath.OS: macOS
Any suggestions would be appreciated.
What have you tried?
I have granted full disk access to my MATLAB R2025b (which is used by the MCP Server) in macOS settings.
I have also tried to give access to these locations in Codex, but those settings do not seem to carry over to the MCP server.
MATLAB Release
R2025b
Agent Platform
Claude Desktop, Codex Desktop
Other Agent Platform
No response