This project provides a Model Context Protocol (MCP) server for TrueNAS that enables AI models to interact with TrueNAS API using natural language. Features: - Server component (truenas-mcp) runs on TrueNAS via systemd - Desktop proxy (truenas-mcp-proxy) bridges Claude Desktop to remote server - SSE/HTTP transport for network communication - Read-only tools for system info, health, pools, datasets, and shares Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
30 lines
808 B
JSON
30 lines
808 B
JSON
{
|
|
"mcpServers": {
|
|
"truenas-local": {
|
|
"comment": "Direct SSE connection (local TrueNAS only)",
|
|
"url": "http://localhost:8080/sse",
|
|
"headers": {
|
|
"Authorization": "Bearer your-secure-api-key-here"
|
|
}
|
|
},
|
|
"truenas-remote": {
|
|
"comment": "Proxy method (recommended for remote TrueNAS)",
|
|
"command": "truenas-mcp-proxy",
|
|
"args": [
|
|
"--server-url", "http://192.168.0.31:8089",
|
|
"--api-key", "your-secure-key-here"
|
|
]
|
|
},
|
|
"truenas-remote-secure": {
|
|
"comment": "Proxy with environment variable for API key (more secure)",
|
|
"command": "truenas-mcp-proxy",
|
|
"args": [
|
|
"--server-url", "http://192.168.0.31:8089"
|
|
],
|
|
"env": {
|
|
"TRUENAS_MCP_API_KEY": "your-secure-key-here"
|
|
}
|
|
}
|
|
}
|
|
}
|