Requirements
- meshagent CLI installed:
pip install "meshagent[all]"
- A Meshagent account
- A Brave Search API key
Environment Variables
Set these environment variables (replace values where indicated):BRAVE_API_KEY
: Your Brave Search API Key
Steps
-
Install Meshagent CLI
-
Sign up and Authenticate
Follow the guide at: https://docs.meshagent.com/cli/getting_started -
Start the Brave MCP Server as a Meshagent Room Service
- This creates a temporary Meshagent Room and deploys the Brave MCP Server to it. The service stops when the room closes.
-
Join with a Chatbot Using the Brave Search Toolkit
- This adds a chatbot to the room with access to the Brave Search MCP tools.
- The command output provides a room link.
-
Test the Integration
- Visit the room link in your browser.
- Chat with the agent to test Brave Search capabilities.
Project Level Deployment
Deploy Brave Search as persistent services so they’re always available in every new Meshagent project room—ideal for production or team-wide accessibility.-
Create the Project-wide MCP Server Service:
-
Create the Project-wide Chatbot Service:
- With these project-level services, every new room created in your Meshagent project will automatically have access to Brave Search tools and chatbot, eliminating local or manual deployment needs.
Tools Available
This MCP Server provides the following tools for use in Meshagent rooms:Tool Summary
Tools provided by this Server | Short Description |
---|---|
brave_local_search | Searches for local businesses and places using Brave’s Local Search API. |
brave_web_search | Performs a web search using the Brave Search API, ideal for general queries, news, articles, and online content. |
Tools Details
brave_local_search
Searches for local businesses and places using Brave’s Local Search API. Best for queries related to physical locations, businesses, restaurants, services, etc. Returns detailed information including:
- Business names and addresses
- Ratings and review counts
- Phone numbers and opening hours
Parameters | Type | Description |
---|---|---|
query | string | Local search query (e.g. ‘pizza near Central Park’) |
count | number (optional) | Number of results (1-20, default 5) |
brave_web_search
Performs a web search using the Brave Search API, ideal for general queries, news, articles, and online content. Use this for broad information gathering, recent events, or when you need diverse web sources. Supports pagination, content filtering, and freshness controls. Maximum 20 results per request, with offset for pagination.
Parameters | Type | Description |
---|---|---|
query | string | Search query (max 400 chars, 50 words) |
count | number (optional) | Number of results (1-20, default 10) |
offset | number (optional) | Pagination offset (max 9, default 0) |