Back to Home
smithery-ai icon

cli

Verified Safe

by smithery-ai

Overview

The Smithery CLI installs, manages, develops, and runs Model Context Protocol (MCP) servers, acting as a client-agnostic tool for AI client integration.

Installation

Run Command
npx @smithery/cli install exa

Environment Variables

  • NODE_ENV
  • LOCAL_REGISTRY_ENDPOINT
  • REGISTRY_ENDPOINT
  • SMITHERY_BEARER_AUTH
  • ANALYTICS_ENDPOINT
  • SMITHERY_CONFIG_PATH
  • PORT
  • FORCE_COLOR
  • LOG_LEVEL

Security Notes

The CLI's core functionality involves executing arbitrary code bundles and commands sourced from the Smithery registry. This includes spawning child processes, downloading and extracting packages (using `@anthropic-ai/mcpb`), and running them locally. While this is the intended design, it introduces a significant supply chain risk: users must implicitly trust the Smithery registry and the authors of the MCP servers they install. A compromised registry or a malicious server package could lead to arbitrary code execution on the user's machine. Network requests to the registry and for tunnel creation (via ngrok) also present standard network-based attack vectors. API keys are handled, implying sensitive data management.

Similar Servers

Stats

Interest Score79
Security Score6
Cost ClassLow
Avg Tokens10
Stars445
Forks66
Last Update2025-12-05

Tags

CLIMCPAI AgentsServer ManagementDevelopmentRegistry