146 lines
No EOL
3.4 KiB
Markdown
Executable file
146 lines
No EOL
3.4 KiB
Markdown
Executable file
# MCP Server Quick Reference
|
|
|
|
## Server Configuration Structure
|
|
```json
|
|
{
|
|
"command": "command_name",
|
|
"args": ["arg1", "arg2"],
|
|
"env": {
|
|
"ENV_VAR": "value"
|
|
},
|
|
"disabled": false,
|
|
"alwaysAllow": ["tool1", "tool2"]
|
|
}
|
|
```
|
|
|
|
## Available Servers and Tools
|
|
|
|
1. **Fetch Server**
|
|
- Tool: `fetch`
|
|
- Usage: `{"url": "https://api.example.com"}`
|
|
|
|
2. **Tavily Server**
|
|
- Tool: `tavily-search`
|
|
- Usage: `{"query": "search terms", "search_depth": "basic"}`
|
|
|
|
3. **Filesystem Server**
|
|
- Tool: `list_directory`
|
|
- Usage: `{"path": "/path/to/directory"}`
|
|
|
|
4. **Package-version Server**
|
|
- Tool: `check_python_versions`
|
|
- Usage: `{"requirements": ["package1", "package2"]}`
|
|
|
|
5. **Sequential-thinking Server**
|
|
- Tool: `sequentialthinking_tools`@
|
|
- Usage:
|
|
```json
|
|
{
|
|
"thought": "Current thinking step",
|
|
"thought_number": 1,
|
|
"total_thoughts": 2,
|
|
"next_thought_needed": true,
|
|
"is_revision": false
|
|
}
|
|
```
|
|
|
|
6. **GitHub Server**
|
|
- Tools:
|
|
- `search_repositories`: `{"q": "search query", "sort": "updated"}`
|
|
- `search_code`: `{"q": "filename:example", "sort": "updated"}`
|
|
- `search_issues`: `{"q": "issue query"}`
|
|
- `search_users`: `{"q": "username"}`
|
|
- `create_issue`: `{"title": "Issue Title", "body": "Description"}`
|
|
- `create_pull_request`: `{"title": "PR Title", "body": "Description"}`
|
|
|
|
## Common Issues
|
|
1. Tool not found: Check alwaysAllow list and tool names
|
|
2. Parameter errors: Verify parameter names (e.g., 'q' vs 'query')
|
|
3. Connection issues: Check server configuration and environment variables
|
|
|
|
## VS Code MCP Server Settings File Reference
|
|
{
|
|
"mcpServers": {
|
|
"github": {
|
|
"command": "npx",
|
|
"args": [
|
|
"@modelcontextprotocol/server-github@2025.3.19"
|
|
],
|
|
"env": {
|
|
"GITHUB_PERSONAL_ACCESS_TOKEN": "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"
|
|
},
|
|
"disabled": false,
|
|
"alwaysAllow": [
|
|
"search_repositories",
|
|
"search_code",
|
|
"search_issues",
|
|
"search_users",
|
|
"create_issue",
|
|
"create_pull_request"
|
|
]
|
|
},
|
|
"fetch": {
|
|
"command": "uvx",
|
|
"args": [
|
|
"mcp-server-fetch"
|
|
],
|
|
"disabled": false,
|
|
"alwaysAllow": [
|
|
"fetch"
|
|
]
|
|
},
|
|
"tavily": {
|
|
"command": "npx",
|
|
"args": [
|
|
"-y",
|
|
"tavily-mcp@0.1.3"
|
|
],
|
|
"env": {
|
|
"TAVILY_API_KEY": "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"
|
|
},
|
|
"disabled": false,
|
|
"alwaysAllow": [
|
|
"tavily-search"
|
|
]
|
|
},
|
|
"sequential-thinking": {
|
|
"command": "npx",
|
|
"args": [
|
|
"-y",
|
|
"mcp-sequentialthinking-tools"
|
|
],
|
|
"disabled": false,
|
|
"alwaysAllow": [
|
|
"think",
|
|
"sequentialthinking_tools"
|
|
]
|
|
},
|
|
"filesystem": {
|
|
"command": "/Users/ben/go/bin/mcp-filesystem-server",
|
|
"args": [
|
|
"/Users/ben"
|
|
],
|
|
"disabled": false,
|
|
"alwaysAllow": [
|
|
"list_directory"
|
|
],
|
|
"env": {
|
|
"PATH": "${PATH}:/Users/ben/go/bin"
|
|
}
|
|
},
|
|
"package-version": {
|
|
"command": "node",
|
|
"args": [
|
|
"/Users/ben/.mcp-servers/mcp-package-version/build/index.js"
|
|
],
|
|
"disabled": false,
|
|
"alwaysAllow": [
|
|
"check_npm_versions",
|
|
"check_docker_tags",
|
|
"check_python_versions",
|
|
"check_pyproject_versions",
|
|
"get_latest_version"
|
|
]
|
|
}
|
|
}
|
|
} |