File tree Expand file tree Collapse file tree 1 file changed +21
-29
lines changed
Expand file tree Collapse file tree 1 file changed +21
-29
lines changed Original file line number Diff line number Diff line change @@ -18,44 +18,36 @@ <h2>Features</h2>
1818
1919 < h2 > Using npx</ h2 >
2020
21- < p > The easiest way to use the MCP server is with npm:</ p >
22-
23- < div class ="highlight ">
24- < pre > npm install -g @drupaltools/mcp</ pre >
25- </ div >
26-
27- < h2 > Usage with Claude Desktop</ h2 >
28-
29- < p > Add the following to your Claude Desktop configuration file:</ p >
21+ < p > Add the following to your < strong > mcpServers</ strong > json key:</ p >
3022
3123 < div class ="highlight ">
3224 < pre >
33- {
34- "mcpServers": {
35- "drupaltools": {
36- "type": "stdio",
37- "command": "npx",
38- "args": ["@drupaltools/mcp@latest"]
39- }
40- }
41- }
25+ {
26+ "mcpServers": {
27+ "drupaltools": {
28+ "type": "stdio",
29+ "command": "npx",
30+ "args": ["@drupaltools/mcp@latest"]
31+ }
32+ }
33+ }
4234 </ pre >
4335 </ div >
4436
4537 < h2 > Local install with npm</ h2 >
4638
4739 < div class ="highlight ">
48- < pre > npm install -g @drupaltools/mcp</ pre >
49- < pre >
50- {
51- "mcpServers": {
52- "drupaltools": {
53- "type": "stdio",
54- "command": "drupaltools-mcp"
55- }
56- }
57- }
58- </ pre >
40+ < pre > npm install -g @drupaltools/mcp</ pre >
41+ < pre >
42+ {
43+ "mcpServers": {
44+ "drupaltools": {
45+ "type": "stdio",
46+ "command": "drupaltools-mcp"
47+ }
48+ }
49+ }
50+ </ pre >
5951 </ div >
6052
6153 < h2 > Available Tools</ h2 >
You can’t perform that action at this time.
0 commit comments