Skip to content

Commit 7779bac

Browse files
Update the mcp-server HTML code
1 parent b393faf commit 7779bac

File tree

1 file changed

+21
-29
lines changed

1 file changed

+21
-29
lines changed

mcp-server/index.html

Lines changed: 21 additions & 29 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)