mcp-perplexity-api

mcp-perplexity-api

1

The MCP Perplexity Server is designed to provide an API for querying models via the Perplexity API. It supports quick setup through Docker and configuration of multiple models.

Overview

The repository contains the Model Context Protocol (MCP) Perplexity Server, providing an API to query a model via the Perplexity API.

Quickstart via Docker

  • Use docker-compose.yml to set up the server with Portainer or Docker Compose.
  • Access the endpoint at http://localhost:8080/sse.

Prerequisites

  • Nodejs
  • pnpm
  • Docker

Installation

  • Docker: Run docker compose up.
  • Node.js: Install dependencies with pnpm install and start the server using pnpm start with optional transport settings.

Configuration

  • Options include setting the Perplexity API key, transport method (stdio or sse), and various other configuration details.