fix: switch MCP server to stdio transport for llmx compatibility
- Add wrapper script run-crawl4ai-mcp.sh for stdio transport - Update config.toml to use stdio instead of SSE - llmx uses Streamable HTTP transport which is incompatible with SSE - DB and REST still run via docker compose, MCP runs on-demand 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
10
config.toml
10
config.toml
@@ -20,6 +20,9 @@ trust_level = "trusted"
|
||||
[projects."/home/valknar/bin"]
|
||||
trust_level = "trusted"
|
||||
|
||||
[projects."/home/valknar/Projects/pivoine.art"]
|
||||
trust_level = "trusted"
|
||||
|
||||
# ==============================================================================
|
||||
# MCP SERVERS CONFIGURATION (10 servers)
|
||||
# Last updated: 2025-11-24
|
||||
@@ -137,8 +140,9 @@ startup_timeout_sec = 20
|
||||
[mcp_servers.crawl4ai_rag]
|
||||
# Web crawling + RAG with vector search (local Docker stack)
|
||||
# Uses BGE embeddings via remote LiteLLM, local PostgreSQL + pgvector
|
||||
# Start with: cd ~/.llmx && docker compose up -d
|
||||
url = "http://localhost:8051/sse"
|
||||
# Start DB first: cd ~/.llmx && docker compose up -d crawl4ai-db crawl4ai-rest
|
||||
command = "/home/valknar/.llmx/run-crawl4ai-mcp.sh"
|
||||
args = []
|
||||
enabled = true
|
||||
startup_timeout_sec = 30
|
||||
startup_timeout_sec = 60
|
||||
tool_timeout_sec = 120
|
||||
|
||||
Reference in New Issue
Block a user