garnet-mcp
mcpotherio.github.tarazou9/garnet-mcp · v0.1.2
RAG memory for LLM agents over Garnet Vector Sets: store text as embeddings, recall by meaning.
run it
on your own machines, one way per deploy methodgenerated from the record, not tested yet
#!/usr/bin/env bash # garnet (io.github.tarazou9/garnet-mcp), recipe baremetal (generated). # Generated by Hub for toolset "my-agent"; started by mcp-my-agent-garnet.service. set -euo pipefail export HOST=127.0.0.1 PORT=8101 exec uvx mcp-proxy --host 127.0.0.1 --port 8101 --pass-environment -- dnx [email protected] --yes [Unit] Description=MCP server garnet (toolset my-agent), generated by Hub After=network-online.target Wants=network-online.target [Service] Type=simple User=mcp Group=mcp EnvironmentFile=/etc/mcp/my-agent.env Environment=HOME=/var/lib/mcp/garnet WorkingDirectory=/var/lib/mcp/garnet ExecStart=/opt/mcp/my-agent/bin/garnet.sh Restart=on-failure RestartSec=5 NoNewPrivileges=true ProtectSystem=strict ProtectHome=true PrivateTmp=true ReadWritePaths=/var/lib/mcp/garnet [Install] WantedBy=multi-user.target
connect to it
copy what your client needsdnx [email protected] --yes # env: Garnet__Host, Garnet__Port, Embeddings__Provider, Embeddings__Endpoint, Embeddings__DeploymentName, Embeddings__Dimensions
{
"mcpServers": {
"garnet": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"Garnet__Host": "${Garnet__Host}",
"Garnet__Port": "${Garnet__Port}",
"Embeddings__Provider": "${Embeddings__Provider}",
"Embeddings__Endpoint": "${Embeddings__Endpoint}",
"Embeddings__DeploymentName": "${Embeddings__DeploymentName}",
"Embeddings__Dimensions": "${Embeddings__Dimensions}"
}
}
}
}
#!/usr/bin/env bash
# Registers every server with Claude Code (run once; `claude mcp list` to check).
set -euo pipefail
set -a; [ -f .env ] && source .env; set +a
claude mcp add garnet -e "Garnet__Host=${Garnet__Host}" -e "Garnet__Port=${Garnet__Port}" -e "Embeddings__Provider=${Embeddings__Provider}" -e "Embeddings__Endpoint=${Embeddings__Endpoint}" -e "Embeddings__DeploymentName=${Embeddings__DeploymentName}" -e "Embeddings__Dimensions=${Embeddings__Dimensions}" -- dnx [email protected] --yes
{
"mcpServers": {
"garnet": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"Garnet__Host": "${Garnet__Host}",
"Garnet__Port": "${Garnet__Port}",
"Embeddings__Provider": "${Embeddings__Provider}",
"Embeddings__Endpoint": "${Embeddings__Endpoint}",
"Embeddings__DeploymentName": "${Embeddings__DeploymentName}",
"Embeddings__Dimensions": "${Embeddings__Dimensions}"
}
}
}
}
{
"servers": {
"garnet": {
"type": "stdio",
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"Garnet__Host": "${Garnet__Host}",
"Garnet__Port": "${Garnet__Port}",
"Embeddings__Provider": "${Embeddings__Provider}",
"Embeddings__Endpoint": "${Embeddings__Endpoint}",
"Embeddings__DeploymentName": "${Embeddings__DeploymentName}",
"Embeddings__Dimensions": "${Embeddings__Dimensions}"
}
}
}
}
name: my-agent target: local servers: - hub: io.github.tarazou9/garnet-mcp
- not probed yet: tools unpinned, ingest lists them
tools
Not probed yetThe tools appear once the hub or its worker has listed this entry. Running it still works: your client lists them on first start.