Smithery MCP Batch Installer

by danielrosehill

184 downloads
Not rated
GitHub

About

Speeds up installing Smithery MCP servers onto multiple clients

Details

Author
danielrosehill
Downloads
184
Categories
Other

- Replicates a Smithery install command across multiple clients automatically.
- Preserves your Smithery key while changing only the target client.
- Supports a configurable list of clients (default: windsurf, vscode, roocode, witsy, cursor).
- Two versions: v1 (full command input) and v2 (package name input).
- Suppresses installation output and auto-answers "no" to prompts for cleaner operation.

What is the difference between v1 and v2?

v1 takes a full Smithery install command that includes --client cursor and replicates it for other clients. v2 takes only a package name (e.g., @mcpserver/openrouterai) and automatically constructs the full installation command for each client.

How do I customize which clients are targeted?

Edit the TARGET_CLIENTS array in the script file. For example, replacing it with TARGET_CLIENTS=("vscode" "intellij" "sublime" "atom"). The array does not need to include “cursor” for v1 because that client is run first.

What input does v1 of the script require?

A complete Smithery install command that includes --client cursor, such as npx -y @smithery/cli@latest run @smithery-ai/github --client cursor --key d708c05d-f7cc-48ee-907f-e9beb9b9f854.

What input does v2 of the script require?

A package name like @mcpserver/openrouterai. The script constructs the full install command automatically.

Does the script modify my Smithery key?

No. v1 uses the key as supplied in the install command; v2 reuses the same key across all client installations. The script only changes the --client argument.

Smithery MCP Batch Installer

alt text

A simple bash script to expedite installing Smithery MCP servers onto multiple clients simultaneously. Now with two versions:
- v1: Takes a full install command with --client cursor
- v2: Takes just a package name (e.g., @mcpserver/openrouterai)

Overview

This utility automates the process of installing Smithery MCP servers across multiple client applications. Instead of manually running installation commands for each client, this script allows you to run a single command and have it automatically replicated across your preferred list of clients.

Why This Exists

When installing Smithery MCP servers, some installation commands contain the MCP key for the servers. This script preserves your Smithery key while changing only the target client, making it efficient to deploy across multiple environments.

How It Works

1. The script takes a Smithery install command for the "cursor" client as input
2. It runs the original command for "cursor" first
3. Then automatically iterates through a predefined list of clients, replacing "cursor" with each client name
4. Each installation is confirmed upon completion

Usage

1. Clone this repository
2. Modify the TARGET_CLIENTS array in batch-installer.sh with your preferred list of clients
3. Run the script:

   ./batch-installer.sh

4. When prompted, paste a complete Smithery install command that includes --client cursor
5. The script will execute the command for "cursor" first, then for each client in your list
6. Press Enter without input to exit the script

Customizing Target Clients

Edit the TARGET_CLIENTS array in the script to include your desired clients:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.