Fix missing mcpServers keys in README code examples
This commit is contained in:
parent
d824121221
commit
a54651477c
9 changed files with 85 additions and 36 deletions
|
|
@ -38,11 +38,16 @@ Add this to your `claude_desktop_config.json`:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"brave-search": {
|
"mcpServers": {
|
||||||
"command": "npx",
|
"brave-search": {
|
||||||
"args": ["-y", "@modelcontextprotocol/server-brave-search"],
|
"command": "npx",
|
||||||
"env": {
|
"args": [
|
||||||
"BRAVE_API_KEY": "YOUR_API_KEY_HERE"
|
"-y",
|
||||||
|
"@modelcontextprotocol/server-brave-search"
|
||||||
|
],
|
||||||
|
"env": {
|
||||||
|
"BRAVE_API_KEY": "YOUR_API_KEY_HERE"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -78,8 +78,14 @@ Add to your `claude_desktop_config.json`:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"everything": {
|
"mcpServers": {
|
||||||
"command": "npx",
|
"everything": {
|
||||||
"args": ["-y", "@modelcontextprotocol/server-everything"]
|
"command": "npx",
|
||||||
|
"args": [
|
||||||
|
"-y",
|
||||||
|
"@modelcontextprotocol/server-everything"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
|
||||||
|
|
@ -82,9 +82,16 @@ Node.js server implementing Model Context Protocol (MCP) for filesystem operatio
|
||||||
Add this to your `claude_desktop_config.json`:
|
Add this to your `claude_desktop_config.json`:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"filesystem": {
|
"mcpServers": {
|
||||||
"command": "npx",
|
"filesystem": {
|
||||||
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/username/Desktop", "/path/to/other/allowed/dir"]
|
"command": "npx",
|
||||||
|
"args": [
|
||||||
|
"-y",
|
||||||
|
"@modelcontextprotocol/server-filesystem",
|
||||||
|
"/Users/username/Desktop",
|
||||||
|
"/path/to/other/allowed/dir"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -51,9 +51,14 @@ To integrate this server with the desktop app, add the following to your app's s
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"gdrive": {
|
"mcpServers": {
|
||||||
"command": "npx",
|
"gdrive": {
|
||||||
"args": ["-y", "@modelcontextprotocol/server-gdrive"]
|
"command": "npx",
|
||||||
|
"args": [
|
||||||
|
"-y",
|
||||||
|
"@modelcontextprotocol/server-gdrive"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -117,11 +117,16 @@ To use this with Claude Desktop, add the following to your `claude_desktop_confi
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"github": {
|
"mcpServers": {
|
||||||
"command": "npx",
|
"github": {
|
||||||
"args": ["-y", "@modelcontextprotocol/server-github"],
|
"command": "npx",
|
||||||
"env": {
|
"args": [
|
||||||
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
|
"-y",
|
||||||
|
"@modelcontextprotocol/server-github"
|
||||||
|
],
|
||||||
|
"env": {
|
||||||
|
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -61,11 +61,16 @@ Add the following to your `claude_desktop_config.json`:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"google-maps": {
|
"mcpServers": {
|
||||||
"command": "npx",
|
"google-maps": {
|
||||||
"args": ["-y", "@modelcontextprotocol/server-google-maps"],
|
"command": "npx",
|
||||||
"env": {
|
"args": [
|
||||||
"GOOGLE_MAPS_API_KEY": "<YOUR_API_KEY>"
|
"-y",
|
||||||
|
"@modelcontextprotocol/server-google-maps"
|
||||||
|
],
|
||||||
|
"env": {
|
||||||
|
"GOOGLE_MAPS_API_KEY": "<YOUR_API_KEY>"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -130,9 +130,14 @@ Example:
|
||||||
Add this to your claude_desktop_config.json:
|
Add this to your claude_desktop_config.json:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"memory": {
|
"mcpServers": {
|
||||||
"command": "npx",
|
"memory": {
|
||||||
"args": ["-y", "@modelcontextprotocol/server-memory"]
|
"command": "npx",
|
||||||
|
"args": [
|
||||||
|
"-y",
|
||||||
|
"@modelcontextprotocol/server-memory"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,15 @@ To use this server with the Claude Desktop app, add the following configuration
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"postgres": {
|
"mcpServers": {
|
||||||
"command": "npx",
|
"postgres": {
|
||||||
"args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"]
|
"command": "npx",
|
||||||
|
"args": [
|
||||||
|
"-y",
|
||||||
|
"@modelcontextprotocol/server-postgres",
|
||||||
|
"postgresql://localhost/mydb"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -98,12 +98,17 @@ Add the following to your `claude_desktop_config.json`:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"slack": {
|
"mcpServers": {
|
||||||
"command": "npx",
|
"slack": {
|
||||||
"args": ["-y", "@modelcontextprotocol/server-slack"],
|
"command": "npx",
|
||||||
"env": {
|
"args": [
|
||||||
"SLACK_BOT_TOKEN": "xoxb-your-bot-token",
|
"-y",
|
||||||
"SLACK_TEAM_ID": "T01234567"
|
"@modelcontextprotocol/server-slack"
|
||||||
|
],
|
||||||
|
"env": {
|
||||||
|
"SLACK_BOT_TOKEN": "xoxb-your-bot-token",
|
||||||
|
"SLACK_TEAM_ID": "T01234567"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue