Database · MODEL CONTEXT PROTOCOL
rileyedwards77 perplexity mcp server
Perplexity AI MCP Server
连接能力
rileyedwards77 perplexity mcp server 为 AI Agent 提供什么
来源目录未提供结构化功能列表,请在使用前阅读源仓库文档。
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
This repository contains the source code for a Model Context Protocol (MCP) server that provides access to the Perplexity AI API. This server allows users to interact with Perplexity AI through various tools, including chatting, searching, and retrieving documentation.
This server simplifies the integration of Perplexity AI into MCP-based systems. It provides a convenient and standardized way to access Perplexity AI's capabilities.
- Install Node.js and npm: Ensure you have Node.js and npm installed on your system.
- Clone the repository: Clone this repository to your local machine.
- Install dependencies: Navigate to the project directory and run
npm install. - Configure API Key: Set the
PERPLEXITY_API_KEYenvironment variable to your Perplexity API key. - Run the server: Run
npm startto start the server.
The server exposes several tools that can be accessed through the MCP system. Refer to the MCP documentation for details on how to use these tools.
- TypeScript
- @modelcontextprotocol/sdk
- axios
- The Perplexity API may be unreliable. Error handling is included to gracefully handle API failures.
Contributions are welcome! Please open an issue or submit a pull request.
社区