Model Context Protocol Manager
npx -y -p mcpfoundation@latest web
npx mcpfoundation add <name> (<args...>)
npx mcpfoundation rm <name> (<args...>)
npx mcpfoundation ls
- Easily add or remove MCP servers with one line.
- View published servers.
Install Pinokio and run MCP Foundation in Pinokio. Everything is taken care of.
- Follow the instructions in the Install Section to install the prerequisites.
- Run
npx mcpfoundation add cocktailpeanut/mcp/sqlite
Install on Pinokio.
First make sure the following prerequisites are installed on your machine.
- UV: https://docs.astral.sh/uv/
- Git: https://git-scm.com/
- Sqlite3: https://www.servermania.com/kb/articles/install-sqlite
- Node.js: https://nodejs.org/en
The easiest way to use is through the web ui.
npx -p mcpfoundation web
Basic
npx mcpfoundation add <name>
Modules that require environment variables:
npx mcpfoundation add <github id>/<name> --GITHUB_PERSONAL_ACCESS_TOKEN <token> ...
npx mcpfoundation rm <name>
npx mcpfoundation update
display all installed mcp servers
npx mcpfoundation ls
Environment variables
PORT
: (for web ui only) use custom port for the web uiMCP_DEFAULT_REPO
: (for web ui only) the default mcp default repository
Additionally, any environment variables on your system will be available
By default, the MCP config file is stored under the Claude app
- Windows:
%AppData%/Claude/claude_desktop_config.json
- Mac:
$HOME/Library/Application Support/Claude/claude_desktop_config.json
But you can change these locations by setting:
MCP_CONFIG_PATH
: the absolute path where the config file needs to be stored.
By default, all the MCP Foundation code is downloaded under ~/mcpfoundation
.
You can change this behavior by setting:
MCP_SERVER_PATH
: the absolute path where each MCP foundation repository will be downloaded.
By default, MCP clients use the system wide environment variables. But sometimes you may want to make it use custom environment variables. In these cases you can use:
-
MCP_ENV
: a comma separated value to specify the environment variable names to inherit -
Example: If you set
MCP_OVERRIDE_ENV=PATH
, thePATH
value of the current environment will be used by the MCP client. -
When is this useful?:
- Sometimes you want to run these commands inside a specific context such as conda environment or venv. If you do not override the MCP environment, it will just use the default PATH to run the programs globally.