@@ -131,7 +131,7 @@ Add the following to your `mcp.json`:
131131 " -e" , " P4PORT=ssl:perforce.example.com:1666" ,
132132 " -e" , " P4USER=your_username" ,
133133 " -e" , " P4CLIENT=your_workspace" ,
134- " -v" , " /Users/your_username/.p4tickets:/root /.p4tickets:ro" ,
134+ " -v" , " /Users/your_username/.p4tickets:/home/mcpuser /.p4tickets:ro" ,
135135 " p4-mcp-server"
136136 ]
137137 }
@@ -156,7 +156,7 @@ Add the following to your `mcp.json`:
156156Using P4 tickets:
157157``` bash
158158# macOS/Linux
159- -v /Users/your_username/.p4tickets:/root /.p4tickets:ro
159+ -v /Users/your_username/.p4tickets:/home/mcpuser /.p4tickets:ro
160160```
161161
162162> ** Note:** Use the full path to your tickets file (not ` ~ ` ). After running ` p4 login ` , restart the MCP server to pick up the new ticket.
@@ -203,7 +203,7 @@ Example configuration with client root mounted:
203203 " -e" , " P4PORT=ssl:perforce.example.com:1666" ,
204204 " -e" , " P4USER=your_username" ,
205205 " -e" , " P4CLIENT=your_workspace" ,
206- " -v" , " /Users/your_username/.p4tickets:/root /.p4tickets" ,
206+ " -v" , " /Users/your_username/.p4tickets:/home/mcpuser /.p4tickets" ,
207207 " -v" , " /path/to/client/root:/path/to/client/root" ,
208208 " p4-mcp-server"
209209 ]
0 commit comments