Skip to content

Warning: Directory access failure when running MCP Server from Claude/Codex #79

@ehennestad

Description

@ehennestad

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageThis issue is awaiting review by the team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions