Run a full MCP server in Termux that exposes the same tools as Amp but for local AI models via Ollama.
The Model Context Protocol is the standard for AI tool integration. This server implements it locally, so your Ollama models can:
# Install dependencies
pnpm install
# Setup server
bash scripts/setup.sh
# Start MCP server
mcp-start
# Verify health
mcp-health
# Connect Ollama model
ollama run llama3.2 --mcp-server http://localhost:8080
{
"server": {
"port": 8080,
"transport": "http",
"sandbox": "~/.openclaw/mcp-sandbox"
},
"tools": {
"read": true,
"bash": true,
"grep": true,
"glob": true
},
"security": {
"allowedPaths": ["~/projects", "~/.openclaw"],
"forbiddenCommands": ["rm -rf", "dd", "mkfs"]
}
}
Email: support@cod3black.agency
共 1 个版本