Jump into testing the MCP server and its Smithery tools by spinning up everything you need in a Meshagent Room. The server and chatbot are auto-removed when the Room closes.

Environment Variables

  • SMITHERY_API_KEY: Your Smithery API key (your_api_key_here)

Steps

  1. Install Meshagent
    pip install "meshagent[all]"
    
  2. Sign up & Authenticate (docs)
    meshagent login
    
  3. Start MCP Server as an agent in a Room
    meshagent service test --room=test --role=agent --image=meshagent/mcp-smithery-cli:latest --env MESHAGENT_PORT=8001 --env SMITHERY_API_KEY=your_api_key_here --port="num=8001 path=/webhook liveness=/ type=meshagent.callable" --name=mcp-smithery-cli-service-test
    
    • This starts a Meshagent Room with a test MCP server inside. Rooms auto-close if inactive.
  4. Start the Chatbot in the Room
    meshagent chatbot join --room=test --agent-name=mcp-smithery-cli --name=mcp-smithery-cli --toolkit=mcp-smithery-cli
    
    • This starts a chatbot that can use the smithery-cli toolkit inside the room.
    • Multiple toolkits can be enabled if needed.
    • The command output gives you a link to the room.
  5. Test it out
    • Open the room link in your browser and chat with the agent to interact with MCP Server tools!

Project Level Deployment (Production)

Set up persistent MCP services at the Meshagent project level. These services auto-join all rooms in your project, so tools and chatbots are always available (no need to keep local servers running).

Steps

  1. Create MCP Server Service
    meshagent service create --role=agent --image=meshagent/mcp-smithery-cli:latest --env MESHAGENT_PORT=8001 --env SMITHERY_API_KEY=your_api_key_here --port="num=8001 path=/webhook liveness=/ type=meshagent.callable" --name=mcp-smithery-cli-service
    
  2. Create Chatbot Service
    meshagent service create --image="meshagent/cli:latest" --port="num=9001 path=/agent liveness=/ type=meshagent.callable participant_name=mcp-smithery-cli-chatbot" --env="MESHAGENT_PORT=9001" --name="mcp-smithery-cli-chatbot-service" --command="meshagent chatbot service --agent-name=mcp-smithery-cli-chatbot --toolkit=mcp-smithery-cli"
    
  • These services are persistent and auto-integrate the MCP CLI server and Smithery CLI chatbot into every project room.

Tools Available

Tools Provided by This MCP Server

ToolShort Description
collect_configCollect the config to be used for connection to MCP server
find_mcpFind the MCP servers by given name
install_mcpInstall the MCP server on your local machine

Tools Details

Tool: collect_config

Collect the config to be used for connection to MCP server
Parameters:
ParameterTypeDescription
qualifiedNamestringThe qualified name of the config to collect

Tool: find_mcp

Find the MCP servers by given name
Parameters:
ParameterTypeDescription
mcpServerNamestringThe name of the MCP server to find

Tool: install_mcp

Install the MCP server on your local machine.
Parameters:
ParameterTypeDescription
clientstringThe client to install
qualifiedNamestringThe qualified name of the MCP server to install. ex) @bbangjooo/mcp-finder-mcp-server
configobject (optional)Configuration schema