Running the Agent and Tool in the Cloud

  1. Set Required Environment Variables

    • SMITHERY_API_KEY: Your Smithery API key (replace your_api_key_here)
  2. Install Meshagent

    pip install "meshagent[all]"
    
  3. Sign up and Authenticate

  4. Start the MCP Smithery CLI Service in a Meshagent 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
    
    • This will launch a Meshagent Room running the MCP server. The room will automatically close if inactive.
  5. Start a Chatbot Agent with the Smithery CLI Toolkit

    meshagent chatbot join \
      --room=test \
      --agent-name=sample \
      --name=sample \
      --toolkit=mcp-smithery-cli
    
    • This starts a chatbot agent that can use the Smithery tools within the Meshagent Room.
    • Multiple toolkits can be used in the same room by the same agent.
    • A link to the room will be shown in the command output—follow it to interact with the agent and tools.

Tools Available

Summary

Tools provided by this ServerShort 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

ParametersTypeDescription
qualifiedNamestringThe qualified name of the config to collect

Tool: find_mcp

Find the MCP servers by given name

ParametersTypeDescription
mcpServerNamestringThe name of the MCP server to find

Tool: install_mcp

Install the MCP server on your local machine. You can install the MCP server with configuration.

ParametersTypeDescription
clientstringThe client to install
qualifiedNamestringThe qualified name of the MCP server to install. ex) @bbangjooo/mcp-finder-mcp-server
configobject (optional)Configuration schema