# Model Context Protocol (MCP)
TODO add description
## Claude Desktop
### Debugging
To debug MCP servers, see https://modelcontextprotocol.io/docs/tools/debugging
### Windows
First, make sure you are using Claude Desktop >= 0.7.5.
See [[Claude]] to know where the [[Claude]] configuration is located.
Some notes:
- Make sure your filepaths have `\\` escaped backslashes
- The command should be the same for all node tools: `"command": "path\to\your\node_install\node.exe",` unless if node is on your PATH
- The first arg should always be `"args":["path\to\node_modules\@servername\dist\index.js",...]`
- Non-node-based tools should just work, ie sqlite works just fine
- If the `claude_desktop_config.json` file does not exist, then create it manually
Example `claude_desktop_config.json` file configuration for the filesystem MCP server:
```
"mcpServers": {
"filesystem": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": [
"C:\\Users\\myname\\AppData\\Roaming\\npm\\node_modules\\@modelcontextprotocol\\server-filesystem\\dist\\index.js",
"C:\\Users\\myname\\myfiles
]
},
```
Assuming you have put `node` on your path, you can juste use "node.exe" as command.
You can also install MCP servers globally to ease their use:
```
npm install -g @modelcontextprotocol/server-memory
npm install -g @modelcontextprotocol/server-puppeteer
npm install -g @modelcontextprotocol/server-brave-search
npm install -g @modelcontextprotocol/server-google-maps
npm install -g @modelcontextprotocol/server-postgres
```
Once correctly configured, you should be able to access your files and do tons of cool stuff. Here's an example where Claude has read-access to my Obsidian notes:
```
{
"mcpServers": {
"filesystem": {
"command": "node.exe",
"args": [
"C:\\npm\\node_modules\\@modelcontextprotocol\\server-filesystem\\dist\\index.js",
"C:\\Users\\trankill\\My Drive\\Notes\\Seb"
]
}
}
}
```
![[Model Context Protocol (MCP) - access obsidian notes.png]]
## References
- Anthropic's Announcement: https://www.anthropic.com/news/model-context-protocol
- MCP Servers
- Official: https://github.com/modelcontextprotocol/servers
- Others
- https://github.com/punkpeye/awesome-mcp-servers
- https://github.com/wong2/awesome-mcp-servers
- https://github.com/appcypher/awesome-mcp-servers
- Interesting
- Bluesky: https://github.com/keturiosakys/bluesky-context-server
- Brave Search: https://github.com/modelcontextprotocol/servers/tree/main/src/brave-search
- Chat summary: https://github.com/chatmcp/mcp-server-chatsum
- Fetch: https://github.com/modelcontextprotocol/servers/tree/main/src/fetch
- Google Maps: https://github.com/modelcontextprotocol/servers/tree/main/src/google-maps
- Memory: https://github.com/modelcontextprotocol/servers/tree/main/src/memory
- Memory Mesh: [https://github.com/CheMiguel23/MemoryMesh](https://github.com/CheMiguel23/MemoryMesh)
- Notion: https://github.com/danhilse/notion_mcp
- Puppeteer: https://github.com/modelcontextprotocol/servers/tree/main/src/puppeteer
- Obsidian: https://github.com/calclavia/mcp-obsidian
- OpenAI: https://github.com/snaggle-ai/openapi-mcp-server
- Sequential Thinking: https://github.com/modelcontextprotocol/servers/tree/main/src%2Fsequentialthinking
- Explanations: https://x.com/combdn/status/1865031688629187030
- Spotify: https://github.com/varunneal/spotify-mcp
- Tools
- MCP installer: https://github.com/anaisbetts/mcp-installer
- MCP CLI: https://github.com/wong2/mcp-cli
- Tutorials
- https://www.youtube.com/watch?v=5CmAKm1wWW0
- https://www.youtube.com/watch?v=8mU2OeOCIrE
- https://www.youtube.com/watch?v=VNb4tGAHgos
- https://johnmaeda.medium.com/claude-mcp-first-run-be-sure-to-choose-settings-from-the-menubar-to-save-yourself-time-fa457ad37582
- https://medium.com/@LakshmiNarayana_U/exploring-model-context-protocol-mcp-with-claude-desktop-simplifying-ai-integration-e447087f95a1
- https://www.tomsguide.com/ai/claude-desktop-can-now-browse-the-internet-and-manage-files-on-your-computer-heres-whats-new
- https://www.reddit.com/r/ClaudeAI/comments/1h06uec/with_mcp_claude_can_now_work_directly_with_local/
- Usage on Windows
- https://github.com/modelcontextprotocol/servers/issues/75
- https://gist.github.com/feveromo/7a340d7795fca1ccd535a5802b976e1f
- Communities
- Reddit: https://www.reddit.com/r/mcp/?rdt=48491
- Discord: https://discord.com/invite/TFE8FmjCdS