Skip to content

Commit 8d44c6b

Browse files
authored
Merge pull request #49 from rahimnathwani/main
Fix missing mcpServers keys in README code examples
2 parents d824121 + a546514 commit 8d44c6b

File tree

9 files changed

+85
-36
lines changed

9 files changed

+85
-36
lines changed

src/brave-search/README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,16 @@ Add this to your `claude_desktop_config.json`:
3838

3939
```json
4040
{
41-
"brave-search": {
42-
"command": "npx",
43-
"args": ["-y", "@modelcontextprotocol/server-brave-search"],
44-
"env": {
45-
"BRAVE_API_KEY": "YOUR_API_KEY_HERE"
41+
"mcpServers": {
42+
"brave-search": {
43+
"command": "npx",
44+
"args": [
45+
"-y",
46+
"@modelcontextprotocol/server-brave-search"
47+
],
48+
"env": {
49+
"BRAVE_API_KEY": "YOUR_API_KEY_HERE"
50+
}
4651
}
4752
}
4853
}

src/everything/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,14 @@ Add to your `claude_desktop_config.json`:
7878

7979
```json
8080
{
81-
"everything": {
82-
"command": "npx",
83-
"args": ["-y", "@modelcontextprotocol/server-everything"]
81+
"mcpServers": {
82+
"everything": {
83+
"command": "npx",
84+
"args": [
85+
"-y",
86+
"@modelcontextprotocol/server-everything"
87+
]
88+
}
8489
}
8590
}
91+
```

src/filesystem/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,16 @@ Node.js server implementing Model Context Protocol (MCP) for filesystem operatio
8282
Add this to your `claude_desktop_config.json`:
8383
```json
8484
{
85-
"filesystem": {
86-
"command": "npx",
87-
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/username/Desktop", "/path/to/other/allowed/dir"]
85+
"mcpServers": {
86+
"filesystem": {
87+
"command": "npx",
88+
"args": [
89+
"-y",
90+
"@modelcontextprotocol/server-filesystem",
91+
"/Users/username/Desktop",
92+
"/path/to/other/allowed/dir"
93+
]
94+
}
8895
}
8996
}
9097
```

src/gdrive/README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,14 @@ To integrate this server with the desktop app, add the following to your app's s
5151

5252
```json
5353
{
54-
"gdrive": {
55-
"command": "npx",
56-
"args": ["-y", "@modelcontextprotocol/server-gdrive"]
54+
"mcpServers": {
55+
"gdrive": {
56+
"command": "npx",
57+
"args": [
58+
"-y",
59+
"@modelcontextprotocol/server-gdrive"
60+
]
61+
}
5762
}
5863
}
5964
```

src/github/README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,16 @@ To use this with Claude Desktop, add the following to your `claude_desktop_confi
117117

118118
```json
119119
{
120-
"github": {
121-
"command": "npx",
122-
"args": ["-y", "@modelcontextprotocol/server-github"],
123-
"env": {
124-
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
120+
"mcpServers": {
121+
"github": {
122+
"command": "npx",
123+
"args": [
124+
"-y",
125+
"@modelcontextprotocol/server-github"
126+
],
127+
"env": {
128+
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
129+
}
125130
}
126131
}
127132
}

src/google-maps/README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,16 @@ Add the following to your `claude_desktop_config.json`:
6161

6262
```json
6363
{
64-
"google-maps": {
65-
"command": "npx",
66-
"args": ["-y", "@modelcontextprotocol/server-google-maps"],
67-
"env": {
68-
"GOOGLE_MAPS_API_KEY": "<YOUR_API_KEY>"
64+
"mcpServers": {
65+
"google-maps": {
66+
"command": "npx",
67+
"args": [
68+
"-y",
69+
"@modelcontextprotocol/server-google-maps"
70+
],
71+
"env": {
72+
"GOOGLE_MAPS_API_KEY": "<YOUR_API_KEY>"
73+
}
6974
}
7075
}
7176
}

src/memory/README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,14 @@ Example:
130130
Add this to your claude_desktop_config.json:
131131
```json
132132
{
133-
"memory": {
134-
"command": "npx",
135-
"args": ["-y", "@modelcontextprotocol/server-memory"]
133+
"mcpServers": {
134+
"memory": {
135+
"command": "npx",
136+
"args": [
137+
"-y",
138+
"@modelcontextprotocol/server-memory"
139+
]
140+
}
136141
}
137142
}
138143
```

src/postgres/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,15 @@ To use this server with the Claude Desktop app, add the following configuration
2626

2727
```json
2828
{
29-
"postgres": {
30-
"command": "npx",
31-
"args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"]
29+
"mcpServers": {
30+
"postgres": {
31+
"command": "npx",
32+
"args": [
33+
"-y",
34+
"@modelcontextprotocol/server-postgres",
35+
"postgresql://localhost/mydb"
36+
]
37+
}
3238
}
3339
}
3440
```

src/slack/README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,17 @@ Add the following to your `claude_desktop_config.json`:
9898

9999
```json
100100
{
101-
"slack": {
102-
"command": "npx",
103-
"args": ["-y", "@modelcontextprotocol/server-slack"],
104-
"env": {
105-
"SLACK_BOT_TOKEN": "xoxb-your-bot-token",
106-
"SLACK_TEAM_ID": "T01234567"
101+
"mcpServers": {
102+
"slack": {
103+
"command": "npx",
104+
"args": [
105+
"-y",
106+
"@modelcontextprotocol/server-slack"
107+
],
108+
"env": {
109+
"SLACK_BOT_TOKEN": "xoxb-your-bot-token",
110+
"SLACK_TEAM_ID": "T01234567"
111+
}
107112
}
108113
}
109114
}

0 commit comments

Comments
 (0)