Developer forum

Forum » Dynamicweb 10 » Allow Claude read-only access DW backend files

Allow Claude read-only access DW backend files

Carolee Schuck Dynamicweb Employee
Carolee Schuck
Reply

Hi,

I would like Claude to access DW backend log files.  Below, I’m running Claude Code locally (connected to the staging-jayco site).

I’ve no need to change output logs, so read-only is fine.

 

Thanks for your help,

Carolee

 


Replies

 
Frederik Nielsen Dynamicweb Employee
Frederik Nielsen
Reply
This post has been marked as an answer

Hi,

Currently the MCPs read files tools only allow specific folders we whitelisted. We will look into this being configurable in a later version of the MCP.

Fow now, you can utilize the dw CLI, it has the capabilities to list and read files from a solution, and Claude is easily able to use it.

 

//Frederik

Votes for this answer: 1
 
Carolee Schuck Dynamicweb Employee
Carolee Schuck
Reply

This is great - thanks for the suggestion!

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Carolee

I just released a new CLI v2 preview: https://www.npmjs.com/package/@dynamicweb/cli/v/2.0.0-preview.4 - read docs here: https://github.com/dynamicweb/CLI/tree/v2

It has a complete new way of file handling and should be way better for Claude to work with and is optimized for larger amounts of files. Output comes in structured format so that Claude can easily use it.

BR Nicolai

Votes for this answer: 1
 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Based on this thread I have added a documentation article covering how to use AI and our CLI to do various diagnosis.

https://doc.dynamicweb.dev/documentation/fundamentals/code/CLI-ai.html

 

You must be logged in to post in the forum