refactor: clean up config, switch to claude-sonnet-4-5

- Switch model from Llama-3.1-8B to claude-sonnet-4-5
- Remove disabled MCP servers to simplify config
- Keep only active servers: git, brave_search, python_runner, crawl4ai_rag

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-01 06:27:10 +01:00
parent 4292a2d62c
commit 5eda3b5c6a

View File

@@ -1,11 +1,11 @@
model_provider = "litellm"
# model = "anthropic/claude-sonnet-4-5-20250929"
model = "hosted_vllm/meta-llama/Llama-3.1-8B-Instruct"
model = "anthropic/claude-sonnet-4-5-20250929"
# model = "hosted_vllm/meta-llama/Llama-3.1-8B-Instruct"
# Context window settings for Llama-3.1-8B (24K context)
model_context_window = 24576
model_auto_compact_token_limit = 15000
model_max_output_tokens = 1024
# model_context_window = 24576
# model_auto_compact_token_limit = 15000
# model_max_output_tokens = 1024
[projects."/home/valknar"]
trust_level = "trusted"
@@ -28,23 +28,6 @@ trust_level = "trusted"
[projects."/home/valknar/Projects/pivoine.art"]
trust_level = "trusted"
# ==============================================================================
# MCP SERVERS CONFIGURATION (10 servers)
# Last updated: 2025-11-24
# Removed: sqlite, brave_search, filescope, in_memoria, rust_filesystem (broken/incompatible)
# ==============================================================================
# ==============================================================================
# ESSENTIAL CORE SERVERS (3)
# ==============================================================================
[mcp_servers.filesystem]
# TypeScript implementation - stable and battle-tested
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem", "/home/valknar"]
enabled = true
startup_timeout_sec = 10
[mcp_servers.git]
# Git operations - Python uvx (no NPM package available)
command = "uvx"
@@ -59,17 +42,6 @@ args = ["-y", "@playwright/mcp"]
enabled = false # Disabled to reduce prompt size
startup_timeout_sec = 20
# ==============================================================================
# HIGHLY RECOMMENDED SERVERS (2)
# ==============================================================================
[mcp_servers.duckduckgo]
# Web search - Privacy-focused, no API key required
command = "npx"
args = ["-y", "duckduckgo-mcp-server"]
enabled = false # Disabled due to rate limiting
startup_timeout_sec = 10
[mcp_servers.brave_search]
# Brave Search - requires API key (BRAVE_API_KEY in .env)
command = "/home/valknar/.llmx/run-brave-search-mcp.sh"
@@ -77,13 +49,6 @@ args = []
enabled = true
startup_timeout_sec = 15
[mcp_servers.portainer]
# Docker container management (requires Portainer running)
command = "npx"
args = ["-y", "@portainer/portainer-mcp"]
enabled = false # Enable after configuring Portainer
startup_timeout_sec = 15
[mcp_servers.python_runner]
# Secure Python sandbox execution (Python uvx, requires Deno)
command = "uvx"
@@ -91,64 +56,6 @@ args = ["mcp-run-python", "stdio"]
enabled = true
startup_timeout_sec = 15
# ==============================================================================
# SPECIALIZED SERVERS (5)
# ==============================================================================
[mcp_servers.commands]
# Shell command execution
command = "npx"
args = ["-y", "mcp-server-commands"]
enabled = false # Disabled to reduce prompt size
startup_timeout_sec = 10
[mcp_servers.codemcp]
# Unified read, write, and command execution (Python uvx from GitHub)
command = "uvx"
args = ["--from", "git+https://github.com/ezyang/codemcp@prod", "codemcp"]
enabled = false # Disabled to reduce prompt size
startup_timeout_sec = 60
[mcp_servers.anyquery]
# SQL interface to 40+ services (requires Go installation)
command = "anyquery"
args = ["mcp"]
enabled = false # Enable after: go install github.com/julien040/anyquery@latest
startup_timeout_sec = 20
[mcp_servers.openapi]
# Generic OpenAPI integration (Docker-based)
command = "docker"
args = ["run", "-i", "--rm", "snaggle/openapi-mcp"]
enabled = false # Configure --openapi-url for specific API
startup_timeout_sec = 20
# ==============================================================================
# AGGREGATORS (2)
# ==============================================================================
[mcp_servers.pipedream]
# 2,500+ APIs with 8,000+ prebuilt tools (requires account)
url = "https://api.pipedream.com/mcp"
bearer_token_env_var = "PIPEDREAM_API_KEY"
enabled = false # Enable after creating Pipedream account
startup_timeout_sec = 20
# ==============================================================================
# ADDITIONAL CUSTOM SERVERS (1)
# ==============================================================================
[mcp_servers.github_official]
# Official GitHub MCP server (Docker-based)
command = "docker"
args = ["run", "-i", "--rm", "-e", "GITHUB_TOKEN", "ghcr.io/github/github-mcp-server"]
enabled = false # Enable if you prefer native MCP over gh CLI
startup_timeout_sec = 20
# ==============================================================================
# RAG SERVERS (1)
# ==============================================================================
[mcp_servers.crawl4ai_rag]
# Web crawling + RAG with vector search (local Docker stack)
# Uses BGE embeddings via remote LiteLLM, local PostgreSQL + pgvector