PERPLEXITY_API_KEY
– Your API key for Perplexity
Steps
-
Install Meshagent CLI:
-
Sign Up & Authenticate:
- Register and authenticate via the Meshagent CLI Guide
- This is a one-time setup.
-
Launch the MCP Server as a Room Agent:
- This creates a Meshagent Room called
test
, running the MCP server in the cloud. - Room and all attached services close automatically if inactive.
- This creates a Meshagent Room called
-
Join a Chatbot to the Room:
- This attaches a chatbot to your room, enabling it to use Perplexity MCP tools.
- Supports adding multiple toolkits per agent.
- You’ll receive a link to the room in the command output.
-
Test in the Browser:
- Visit the provided room link and send a message to the agent.
- Interact with Perplexity MCP server tools live in the Meshagent Room!
PERPLEXITY_API_KEY
: Your Perplexity API key
Project Level Deployment (Production)
Deploying at the project level lets your MCP server and chatbot appear in every new Room, making them always available without manual setup per-room.-
Create Persistent MCP Server Service:
-
Create Persistent Chatbot Service:
- With this setup, the MCP server and chatbot will auto-join every new Room in your Meshagent project.
Tools Available
Connector for Perplexity API, to enable real-time, web-wide research.Summary of Provided Tools
Tool Name | Short Description |
---|---|
perplexity_ask | Engages in a conversation using the Sonar API. |
perplexity_reason | Performs reasoning tasks using the Perplexity API. |
perplexity_research | Performs deep research using the Perplexity API. |
Tool Details
perplexity_ask
Engages in a conversation using the Sonar API. Accepts an array of messages (each with a role and content) and returns an ask completion response from the Perplexity model.Parameter | Type | Description |
---|---|---|
messages | array | Array of conversation messages |
perplexity_reason
Performs reasoning tasks using the Perplexity API. Accepts an array of messages (each with a role and content) and returns a well-reasoned response using the sonar-reasoning-pro model.Parameter | Type | Description |
---|---|---|
messages | array | Array of conversation messages |
perplexity_research
Performs deep research using the Perplexity API. Accepts an array of messages (each with a role and content) and returns a comprehensive research response with citations.Parameter | Type | Description |
---|---|---|
messages | array | Array of conversation messages |