Skip to main content
Glama
ctosmsa

Perplexity MCP Server (Python)

by ctosmsa

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP server port8080
HTTP_PROXYNoFallback proxy env var
HTTPS_PROXYNoFallback proxy env var
BIND_ADDRESSNoHTTP bind address0.0.0.0
ALLOWED_ORIGINSNoCORS origins (comma-separated)*
PERPLEXITY_PROXYNoProxy URL
PERPLEXITY_API_KEYYesPerplexity API key (required)
PERPLEXITY_BASE_URLNoCustom API base URLhttps://api.perplexity.ai
PERPLEXITY_LOG_LEVELNoDEBUG|INFO|WARN|ERRORERROR
PERPLEXITY_TIMEOUT_MSNoRequest timeout in ms300000

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ctosmsa/perplexity_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server