
🚀 MCP Perplexity Proxy Server
This Node.js server proxies OpenAI-compatible or MCP-native requests to Perplexity AI's Sonar models with streaming support.
🔧 Run locally
docker-compose up --build
🔁 Supported APIs
- POST
/v1/chat/completions
(OpenAI-compatible) - POST
/mcp-stream
(MCP-native) - GET
/
(Swagger UI)
✅ Usage in CLine / Cursor / RooCode
{
"provider": "openai",
"api_base": "http://localhost:3000/v1",
"api_key": "dummy"
}
🧪 Local Testing
curl -X POST http://localhost:3000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"sonar-reasoning-pro","messages":[{"role":"user","content":"Was ist JSON.stringify?"}]}'
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Take an adjectivised noun, and create images making it progressively more adjective!
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Reviews

user_EjgRjggE
I have been using the perplexity-mcp-server by nikolaospapagiannis, and it has been fantastic for my applications. The server is highly efficient, and its features perfectly suit my needs. The setup instructions on the GitHub page are clear, making the deployment process straightforward. Highly recommend it for fellow developers seeking a reliable MCP server solution.