Skip to main content
Glama
mnthe

perplexity-mcp-server

by mnthe

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_DIRNoDirectory for file-based logging (only used if LOG_TO_STDERR is false)./logs
MAX_HISTORYNoMaximum number of messages per session20
LOG_TO_STDERRNoLog to stderr (recommended for npx/MCP usage)true
DISABLE_LOGGINGNoDisable all loggingfalse
SESSION_TIMEOUTNoSession timeout in seconds (default 30 minutes)1800
PERPLEXITY_MODELNoModel to use: sonar, sonar-pro, sonar-reasoningsonar
PERPLEXITY_API_KEYYesYour Perplexity API key (required)
ENABLE_CONVERSATIONSNoEnable session management for multi-turn conversationstrue

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/mnthe/perplexity-mcp-server'

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