47 lines
1.3 KiB
Markdown
47 lines
1.3 KiB
Markdown
---
|
|
created: 2026-05-18 09:45
|
|
type: documentation
|
|
language:
|
|
environment:
|
|
source_url:
|
|
tags:
|
|
- dev
|
|
- snippets
|
|
- ai
|
|
- dev-ops
|
|
aliases: []
|
|
id: 1779061553-LQHN
|
|
---
|
|
# Tech Snippet: 1779061553-LQHN
|
|
|
|
The file /home/sam/.config/mcp/mcp.json had comments in it for creating MCP server connections for the Pi Dev environment. I had to take them out. Here they are.
|
|
|
|
{
|
|
// Pi MCP Adapter configuration
|
|
// Add MCP servers here to make them available to Pi.
|
|
// The pi-mcp-adapter extension reads this file automatically.
|
|
//
|
|
// Find MCP servers at:
|
|
// https://github.com/modelcontextprotocol/servers
|
|
// https://smithery.ai (community MCP server registry)
|
|
//
|
|
// Popular servers:
|
|
// filesystem — npx -y @modelcontextprotocol/server-filesystem /path
|
|
// github — npx -y @modelcontextprotocol/server-github
|
|
// brave-search — npx -y @modelcontextprotocol/server-brave-search
|
|
// home-assistant — npx -y @bankless/ha-mcp
|
|
// postgres — npx -y @modelcontextprotocol/server-postgres postgresql://...
|
|
//
|
|
// Usage in Pi: /mcp to manage, mcp({ tool: "tool_name", args: '{}' }) to call
|
|
//
|
|
"mcpServers": {
|
|
// Example filesystem server (uncomment to use):
|
|
// "filesystem": {
|
|
// "command": "npx",
|
|
// "args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/sam"]
|
|
// }
|
|
}
|
|
}
|
|
|
|
|