MCP.so
登录

MCP Perplexity Server

@lostmind008

基本信息

分类

AI 与智能体

传输方式

stdio

作者

lostmind008

关于 MCP Perplexity Server

Model Context Protocol server implementation for Perplexity API

MCP Perplexity Server 配置

使用下面的配置,将此服务器添加到你的 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"
      }
    }
  }
}

MCP Perplexity Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

1

What modes does MCP Perplexity Server support?

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

2

What environment variables are required?

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

3

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.

4

What is the default port?

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

5

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 服务器