Prerequisites
Required Environment Variables
EXA_API_KEY=your-api-key-here
(Exa API authentication)
Steps
-
Install Meshagent CLI
- Authenticate with Meshagent Follow onboarding steps at Meshagent CLI Getting Started.
-
Launch Exa MCP Agent in a Room
- Starts an Exa MCP server as an agent within the
test
Room. Room and services are temporary and will be cleaned up after inactivity.
- Starts an Exa MCP server as an agent within the
-
Join a Chatbot Linked to the Exa Toolkit
- Spawns a chatbot in the Room capable of using the Exa MCP toolkit. Multiple agents/tools can be combined in a Room.
- The command output will include a browser link to the live Room.
-
Test the Integration
- Visit the provided Room URL and initiate a conversation with the
mcp-exa
agent to try out the Exa web search tools.
- Visit the provided Room URL and initiate a conversation with the
Project Level Deployment: Persistent MCP Tooling
For production scenarios, deploy the MCP server and chatbot as persistent project-level services. Every new Room in the project will automatically include the Exa tools and/or chatbot, removing the need to launch or manage these resources manually.Persistent Agent and Chatbot Services
-
Create the Exa MCP Agent Service
-
Create a Persistent Chatbot Linked to the Exa Toolkit
Tools Available
Tools Provided
Tool | Short Description |
---|---|
web_search_exa | Search the web using Exa AI - performs real-time web searches and can scrape content from specific URLs. |
Tool Details
web_search_exa
Search the web using Exa AI - performs real-time web searches and can scrape content from specific URLs. Supports configurable result counts and returns the content from the most relevant websites.
Parameter | Type | Description |
---|---|---|
query | string | Search query |
numResults | number optional | Number of search results to return (default: 5) |
Meshagent and Docker Links
- Meshagent: https://www.meshagent.com/
- Read The Docs: https://docs.meshagent.com
- Meshagent MCP Exa Tool Docker Image: https://hub.docker.com/r/meshagent/mcp-exa