# AgenticCoder MCP Configuration For AgenticCoder, use this configuration with the clean entry point that has no debug output: ```json { "mcp": { "docs-rag": { "type": "stdio", "command": "node", "args": [ "/data/docs-rag/dist/mcp/agentic-stdio.js" ], "cwd": "/data/docs-rag", "env": { "QDRANT_URL": "http://localhost:6333", "OLLAMA_URL": "http://localhost:11434", "OLLAMA_EMBEDDING_MODEL": "nomic-embed-text" }, "disabled": false } } } ``` ## Why this configuration: ✅ **Clean JSON output** - No dotenv debug messages interfering with protocol ✅ **Direct Node execution** - Uses compiled binary for reliability ✅ **Environment variables** - Hardcoded defaults ensure server starts properly ✅ **Absolute file paths** - No ambiguity in execution location ## Requirements: 1. **Build the project:** ```bash cd /data/docs-rag npm run build ``` 2. **Ensure compiled file exists:** ```bash ls -la /data/docs-rag/dist/mcp/agentic-stdio.js ``` 3. **Dependencies running:** - Qdrant: `http://localhost:6333` - Ollama: `http://localhost:11434` This configuration should resolve the "invalid character 'd'" JSON parsing error by providing clean JSON responses only from the MCP server.