Skip to main content
Glama

Perplexity AI MCP Server

Perplexity AI MCP 服务器

此代码库包含模型上下文协议 (MCP) 服务器的源代码,该服务器提供对 Perplexity AI API 的访问。该服务器允许用户通过各种工具与 Perplexity AI 进行交互,包括聊天、搜索和检索文档。

目的

该服务器简化了 Perplexity AI 与基于 MCP 的系统的集成,并提供了一种便捷且标准化的方式来访问 Perplexity AI 的功能。

设置

  1. **安装 Node.js 和 npm:**确保您的系统上安装了 Node.js 和 npm。
  2. **克隆存储库:**将此存储库克隆到本地计算机。
  3. **安装依赖项:**导航到项目目录并运行npm install
  4. **配置 API 密钥:**PERPLEXITY_API_KEY环境变量设置为您的 Perplexity API 密钥。
  5. **运行服务器:**运行npm start启动服务器。

用法

该服务器提供了一些可通过 MCP 系统访问的工具。有关如何使用这些工具的详细信息,请参阅 MCP 文档。

使用的技术

  • TypeScript
  • @modelcontextprotocol/sdk
  • axios

已知问题

  • Perplexity API 可能不太可靠。我们提供了错误处理功能,以便妥善处理 API 故障。

贡献

欢迎贡献!请打开一个问题或提交一个拉取请求。

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

该服务器提供对 Perplexity AI API 的访问,从而实现在基于 MCP 的系统内通过聊天、搜索和文档检索进行交互。

  1. 目的
    1. 设置
      1. 用法
        1. 使用的技术
          1. 已知问题
            1. 贡献

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Enables integration of Perplexity's AI API with LLMs, delivering advanced chat completion by utilizing specialized prompt templates for tasks like technical documentation, code review, and API documentation.
                Last updated -
                1
                94
                8
                JavaScript
                MIT License
                • Linux
              • A
                security
                F
                license
                A
                quality
                This server allows users to perform web searches using Perplexity AI, providing a tool for retrieving search results through a simple API interface.
                Last updated -
                1
                2
                TypeScript
              • A
                security
                A
                license
                A
                quality
                An MCP server integrating Perplexity AI's API to offer advanced search capabilities with support for multiple models and result configuration.
                Last updated -
                1
                1
                JavaScript
                MIT License
              • A
                security
                F
                license
                A
                quality
                Provides a standardized way to integrate Perplexity AI's features like chat, search, and documentation access into MCP-based systems.
                Last updated -
                5
                JavaScript

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/fr0ziii/perplexity-mcp-server'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server