What does envmcp do?
envmcp reads a `.env.mcp` file, loads defined environment variables, and substitutes any `$VARIABLE_NAME` references in the command arguments before executing the MCP server.
@griffithsbs
基本情報
A lightweight way to use environment variables in your Cursor MCP server definitions.
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"envmcp": {
"command": "npx",
"args": [
"envmcp",
"your-mcp-server",
"$DATABASE_URL"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。
envmcp is a command-line tool that loads environment variables from a file and substitutes $VARIABLE_NAME references in MCP server command arguments. It is designed for users of Cursor MCP servers who want to keep secrets out of configuration files.
Prefix your MCP server command with envmcp. Use npx envmcp or install globally with npm install -g envmcp. Specify an optional custom env file with --env-file (or -e) flag. Example: npx envmcp --env-file .env my-mcp-server $DATABASE_URL. In MCP client config, change the command to npx and arguments to ["envmcp", "your-mcp-server", "$VARIABLE"].
.env.mcp files..env.mcp in current, parent, and home directories.$VARIABLE_NAME references in command arguments.envmcp reads a `.env.mcp` file, loads defined environment variables, and substitutes any `$VARIABLE_NAME` references in the command arguments before executing the MCP server.
Use the `--env-file <path>` or `-e <path>` option to point to a specific file, e.g., `npx envmcp --env-file /path/to/secrets.env my-mcp-server $API_KEY`.
The README suggests [mcpipe](https://github.com/griffithsbs/mcpipe) which includes envmcp's functionality along with debugging tools and other capabilities.
By default, it searches for `.env.mcp` in the current directory, then parent directories, and finally in the home directory (`~/.env.mcp`). If `--env-file` is given, it uses that file directly.
Each line is a `KEY=VALUE` pair. Lines starting with `#` are comments. Values can be quoted (e.g., `QUOTED_VALUE="value with spaces"`).
Hindsight: Agent Memory That Learns

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one
不止于 CSS

Model Context Protocol Servers
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
コメント