Bounded local coding agent for Ollama with safe tools, controller loop, validation, VRAM management, and context window controls
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add local-coding-agent -- uvx local-coding-agent --workspace '<WORKSPACE>'~/.codex/config.toml
[mcp_servers.local-coding-agent]
command = "uvx"
args = ["local-coding-agent", "--workspace", "<WORKSPACE>"]
# codex mcp add local-coding-agent -- uvx local-coding-agent --workspace '<WORKSPACE>'~/.cursor/mcp.json
{
"mcpServers": {
"local-coding-agent": {
"command": "uvx",
"args": [
"local-coding-agent",
"--workspace",
"<WORKSPACE>"
]
}
}
}.vscode/mcp.json
{
"servers": {
"local-coding-agent": {
"type": "stdio",
"command": "uvx",
"args": [
"local-coding-agent",
"--workspace",
"<WORKSPACE>"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"local-coding-agent": {
"command": "uvx",
"args": [
"local-coding-agent",
"--workspace",
"<WORKSPACE>"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"local-coding-agent": {
"command": "uvx",
"args": [
"local-coding-agent",
"--workspace",
"<WORKSPACE>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"local-coding-agent": {
"command": "uvx",
"args": [
"local-coding-agent",
"--workspace",
"<WORKSPACE>"
]
}
}
}