@@ -16,7 +16,7 @@ <h2>Features</h2>
1616 < li > < strong > get_tool</ strong > : Get detailed information about a specific tool</ li >
1717 </ ul >
1818
19- < h2 > Installation with npm </ h2 >
19+ < h2 > Using npx </ h2 >
2020
2121 < p > The easiest way to use the MCP server is with npm:</ p >
2222
@@ -29,13 +29,33 @@ <h2>Usage with Claude Desktop</h2>
2929 < p > Add the following to your Claude Desktop configuration file:</ p >
3030
3131 < div class ="highlight ">
32- < pre > {
33- "mcpServers": {
34- "drupal-tools": {
35- "command": "drupaltools-mcp"
36- }
37- }
38- }</ pre >
32+ < pre >
33+ {
34+ "mcpServers": {
35+ "drupaltools": {
36+ "type": "stdio",
37+ "command": "npx",
38+ "args": ["@drupaltools/mcp@latest"]
39+ }
40+ }
41+ }
42+ </ pre >
43+ </ div >
44+
45+ < h2 > Local install with npm</ h2 >
46+
47+ < 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 >
3959 </ div >
4060
4161 < h2 > Available Tools</ h2 >
@@ -73,14 +93,22 @@ <h3>3. get_tool</h3>
7393 < li > < code > tool_id</ code > (required): The tool ID (filename without .yml) or tool name</ li >
7494 </ ul >
7595
96+ < h2 > Example Usage and prompts</ h2 >
97+ < code >
98+ Show me 5 Drupal tools for testing Drupal sites
99+ Search for Docker-based Drupal development tools
100+ Tell me about ddev tool
101+ List all CLI tools for Drupal that are deprecated
102+ </ code >
103+
76104 < h2 > Development</ h2 >
77105
78106 < p > The server is built using the JavaScript/TypeScript MCP SDK (< code > @modelcontextprotocol/sdk</ code > v1.24.3) with ES modules.</ p >
79107
80108 < h2 > Testing</ h2 >
81109
82110 < div class ="highlight ">
83- < pre > npx @modelcontextprotocol/inspector node mcp-server/index.js </ pre >
111+ < pre > npx @modelcontextprotocol/inspector drupaltools-mcp </ pre >
84112 </ div >
85113
86114 < p > This opens a web UI where you can:</ p >
0 commit comments