servidor de perplejidad-MCP
1
Github Watches
3
Github Forks
2
Github Stars
Perplexity MCP Server
This is a simple MCP server that allows you to search the web using Perplexity AI.
Installation
Prerequisites
- Node.js 18+ (Download from nodejs.org)
- Git (Download from git-scm.com)
- A Perplexity AI API key
Steps for Windows
- Clone the repository:
git clone [repository-url]
cd perplexity-mcp-server
- Install dependencies:
npm install
- Create environment file:
- Create a new file named
.envin the root directory - Add your Perplexity AI API key:
PERPLEXITY_API_KEY=your_api_key_here - Create a new file named
Usage on Windows
Development Mode
npm run dev
Production Mode
- Build the project:
npm run build
- Start the server:
npm start
Using the Windows Batch File (Recommended)
To avoid environment variable issues on Windows, use the included batch file:
- Build the project first:
npm run build
- Run the batch file:
.\run-perplexity-server.bat
Alternatively, double-click the run-perplexity-server.bat file in Windows Explorer.
For detailed instructions, see the Windows Setup Guide.
Troubleshooting Windows Issues
Common Issues
-
Permission Errors
- Run Command Prompt or PowerShell as Administrator
- Check file permissions in the project directory
-
Environment Variables
- Ensure
.envfile is in the root directory - No spaces around the
=sign in.envfile - Restart terminal after making changes to environment variables
- Use the provided batch file to avoid environment variable issues
- Ensure
-
Node.js Issues
- Verify Node.js installation:
node --version - Ensure npm is installed:
npm --version
- Verify Node.js installation:
Error Messages
If you see Error: ENOENT: no such file or directory, ensure:
- All paths use correct Windows-style separators
- You're in the correct directory
- Required files exist
Project Structure
perplexity-mcp-server/
├── src/
│ └── index.ts # Main server implementation
├── dist/ # Compiled output
├── .env # Environment variables
├── package.json # Project configuration
├── run-perplexity-server.bat # Windows batch file
└── tsconfig.json # TypeScript configuration
API Usage
The server provides a single tool perplexity_search for web searches:
{
"name": "perplexity_search",
"arguments": {
"query": "your search query here"
}
}
License
MIT
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Espejo dehttps: //github.com/agentience/practices_mcp_server
Reviews
user_TioFgARe
I have been using MCP Telemetry by xprilion for a while now and it has significantly improved my server monitoring capabilities. The detailed and real-time telemetry data it provides is incomparable. It’s user-friendly and the insights are incredibly helpful for optimizing server performance. Highly recommend it! Check it out here: https://mcp.so/server/mcp-telemetry/xprilion