Skip to content

Commit

Permalink
Fix missing mcpServers keys in README code examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rahimnathwani committed Nov 26, 2024
1 parent d824121 commit a546514
Show file tree
Hide file tree
Showing 9 changed files with 85 additions and 36 deletions.
15 changes: 10 additions & 5 deletions src/brave-search/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,16 @@ Add this to your `claude_desktop_config.json`:

```json
{
"brave-search": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-brave-search"],
"env": {
"BRAVE_API_KEY": "YOUR_API_KEY_HERE"
"mcpServers": {
"brave-search": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-brave-search"
],
"env": {
"BRAVE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Expand Down
12 changes: 9 additions & 3 deletions src/everything/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,14 @@ Add to your `claude_desktop_config.json`:

```json
{
"everything": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-everything"]
"mcpServers": {
"everything": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-everything"
]
}
}
}
```
13 changes: 10 additions & 3 deletions src/filesystem/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,16 @@ Node.js server implementing Model Context Protocol (MCP) for filesystem operatio
Add this to your `claude_desktop_config.json`:
```json
{
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/username/Desktop", "/path/to/other/allowed/dir"]
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/username/Desktop",
"/path/to/other/allowed/dir"
]
}
}
}
```
Expand Down
11 changes: 8 additions & 3 deletions src/gdrive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,14 @@ To integrate this server with the desktop app, add the following to your app's s

```json
{
"gdrive": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-gdrive"]
"mcpServers": {
"gdrive": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gdrive"
]
}
}
}
```
Expand Down
15 changes: 10 additions & 5 deletions src/github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,16 @@ To use this with Claude Desktop, add the following to your `claude_desktop_confi

```json
{
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
Expand Down
15 changes: 10 additions & 5 deletions src/google-maps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,16 @@ Add the following to your `claude_desktop_config.json`:

```json
{
"google-maps": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-google-maps"],
"env": {
"GOOGLE_MAPS_API_KEY": "<YOUR_API_KEY>"
"mcpServers": {
"google-maps": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-maps"
],
"env": {
"GOOGLE_MAPS_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
Expand Down
11 changes: 8 additions & 3 deletions src/memory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,14 @@ Example:
Add this to your claude_desktop_config.json:
```json
{
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}
}
}
```
Expand Down
12 changes: 9 additions & 3 deletions src/postgres/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,15 @@ To use this server with the Claude Desktop app, add the following configuration

```json
{
"postgres": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"]
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
]
}
}
}
```
Expand Down
17 changes: 11 additions & 6 deletions src/slack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,17 @@ Add the following to your `claude_desktop_config.json`:

```json
{
"slack": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-slack"],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token",
"SLACK_TEAM_ID": "T01234567"
"mcpServers": {
"slack": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-slack"
],
"env": {
"SLACK_BOT_TOKEN": "xoxb-your-bot-token",
"SLACK_TEAM_ID": "T01234567"
}
}
}
}
Expand Down

0 comments on commit a546514

Please sign in to comment.