Cover image
Try Now
2025-04-01

Implémentation du serveur de protocole de contexte modèle pour l'API Perplexity

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.

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

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

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

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

  • HiveNexus
  • Un bot de chat IA pour les petites et moyennes équipes, soutenant des modèles tels que Deepseek, Open AI, Claude et Gemini. 专为中小团队设计的 Ai 聊天应用 , 支持 Deepseek 、 Open Ai 、 Claude 、 Gemini 等模型。

  • patruff
  • Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle

  • ravitemer
  • Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)

  • Sysc4lls
  • Lecteur de documentation IDA (Sort-of) MCP Server

    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.