MCP.so
登录

MCP Perplexity Server

@lostmind008

关于 MCP Perplexity Server

Model Context Protocol server implementation for Perplexity API

基本信息

分类

AI 与智能体

运行时

node

传输方式

stdio

发布者

lostmind008

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "perplexity-ask": {
      "command": "npx",
      "args": [
        "-y",
        "github:lostmind008/mcp-perplexity-server"
      ],
      "env": {
        "PERPLEXITY_API_KEY": "your-api-key",
        "MCP_SERVER_PORT": "3000",
        "MCP_MODE": "ask"
      }
    },
    "perplexity-search": {
      "command": "npx",
      "args": [
        "-y",
        "github:lostmind008/mcp-perplexity-server"
      ],
      "env": {
        "PERPLEXITY_API_KEY": "your-api-key",
        "MCP_SERVER_PORT": "3001",
        "MCP_MODE": "search"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Perplexity Server?

An MCP server implementation that wraps the Perplexity API, supporting Ask and Search modes, designed for use with any MCP client.

How to use MCP Perplexity Server?

Install by adding a configuration entry to your MCP client, specifying the command npx -y github:lostmind008/mcp-perplexity-server, and set the required environment variable PERPLEXITY_API_KEY plus optional MCP_SERVER_PORT and MCP_MODE. Invoke via the client using server names like perplexity-ask or perplexity-search.

Key features of MCP Perplexity Server

  • Supports both Ask and Search modes
  • Simple configuration via environment variables
  • Direct integration with MCP clients
  • Runs via npx without local installation

Use cases of MCP Perplexity Server

  • Query Perplexity AI for factual answers using Ask mode
  • Get search results from Perplexity AI using Search mode
  • Integrate Perplexity capabilities into MCP-compatible applications

FAQ from MCP Perplexity Server

What modes does MCP Perplexity Server support?

It supports Ask mode and Search mode, configured via the MCP_MODE environment variable (default: 'ask').

What environment variables are required?

Only PERPLEXITY_API_KEY is required. Optional variables: MCP_SERVER_PORT (default 3000) and MCP_MODE (default 'ask').

How do I run MCP Perplexity Server?

It runs automatically when invoked by an MCP client using npx -y github:lostmind008/mcp-perplexity-server. No local installation is needed.

What is the default port?

The default port is 3000, but can be changed via MCP_SERVER_PORT.

Does MCP Perplexity Server require external dependencies?

It requires an MCP client to invoke it and a valid Perplexity API key. It runs via npx, so Node.js and npm must be available.

评论

AI 与智能体 分类下的更多 MCP 服务器