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"`).

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.
Hindsight: Agent Memory That Learns
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w
评论