Skip to content

Commit cd5cca6

Browse files
mowens3claude
andcommitted
Update mcp.json.example with correct drush options
Use cwd + absolute drush path, add --quiet and --scope flags, remove non-functional MCP_SCOPE env var and inaccurate HTTP config. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9911a33 commit cd5cca6

1 file changed

Lines changed: 5 additions & 16 deletions

File tree

mcp.json.example

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
11
{
22
"mcpServers": {
3-
"drupal-stdio": {
4-
"command": "drush",
5-
"args": [
6-
"--root=/path/to/drupal",
7-
"mcp-tools:serve",
8-
"--server=development",
9-
"--uid=1"
10-
],
3+
"drupal": {
4+
"command": "/path/to/drupal/vendor/bin/drush",
5+
"args": ["mcp-tools:serve", "--quiet", "--uid=1", "--scope=read,write"],
6+
"cwd": "/path/to/drupal",
117
"env": {
12-
"MCP_SCOPE": "read,write"
13-
}
14-
},
15-
"drupal-http": {
16-
"type": "http",
17-
"url": "https://example.com/_mcp_tools",
18-
"headers": {
19-
"Authorization": "Bearer YOUR_API_KEY"
8+
"SYMFONY_DEPRECATIONS_HELPER": "disabled"
209
}
2110
}
2211
}

0 commit comments

Comments
 (0)