Perplexity MCP Server Configuration
This project provides MCP (Machine Control Protocol) servers for integrating with Perplexity AI. There are two server configurations available:
1. Perplexity Local Server
This is the local development server configuration:
{
"mcpServers": {
"perplexity": {
"command": "node",
"args": ["path/to/build/index.js"],
"env": {
"PERPLEXITY_API_KEY": "your-api-key"
},
"disabled": false,
"alwaysAllow": []
}
}
}
Setup Instructions
- Replace
your-api-keywith your actual Perplexity API key - For the local server, update the path in
argsto point to your built index.js file - Add these configurations to your project's MCP configuration file
Security Note
⚠️ Never commit your API keys to version control. Instead:
- Use environment variables
- Store sensitive information in a secure configuration management system
- Add
.envfiles to your.gitignore