Cover image
Try Now
2025-04-01

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

3 years

Works with Finder

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.

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

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

  • 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.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • albert tan
  • Japanese education, creating tailored learning experiences.

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

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

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

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • rahulc0dy
  • 测试您的MCP服务器。

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

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

    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.