MCP cover image
See in Github
2025-04-01

模型上下文协议服务器实现困惑API

1

Github Watches

0

Github Forks

0

Github Stars

MCP Perplexity Server

A Model Context Protocol (MCP) server implementation for the Perplexity API.

Features

  • Supports both Ask and Search modes
  • Simple configuration via environment variables
  • Direct integration with MCP clients

Installation

You can use this server directly from GitHub in your MCP configuration:

{
  "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"
    }
  }
}

Environment Variables

  • PERPLEXITY_API_KEY: Your Perplexity API key (required)
  • MCP_SERVER_PORT: Port for the MCP server (default: 3000)
  • MCP_MODE: Server mode - 'ask' or 'search' (default: 'ask')

Usage

Once configured, you can use this server with any MCP client by specifying the appropriate server name:

perplexity-ask "What is the capital of France?"
perplexity-search "Best programming languages 2025"

License

MIT

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Lists Tailwind CSS classes in monospaced font

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • modelcontextprotocol
  • 模型上下文协议服务器

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

    Reviews

    2 (1)
    Avatar
    user_7FhKq4Pn
    2025-04-16

    I have been using the mcp-perplexity-server developed by lostmind008 and I am truly impressed. This server has significantly optimized my computational tasks with its robust performance. The clear documentation and seamless integration make it an invaluable tool for anyone working in this field. Highly recommended for professionals seeking efficiency and reliability.