- envmcp
envmcp
A lightweight way to use environment variables in your Cursor MCP server definitions.
Overview
What is envmcp?
envmcp is a lightweight tool designed to manage environment variables in Cursor MCP server definitions, allowing for secure handling of sensitive information.
How to use envmcp?
To use envmcp, create a .env.mcp file in your home directory to store your secrets, then prefix your stdio command with npx envmcp to reference the environment variables in your MCP configuration.
Key features of envmcp?
- Simplifies the management of environment variables for MCP servers.
- Allows for secure storage of sensitive information in a dedicated file.
- Automatically loads environment variables from the nearest
.env.mcpfile.
Use cases of envmcp?
- Managing database connection strings securely.
- Running MCP servers with sensitive API keys without hardcoding them.
- Simplifying the configuration of multiple MCP servers with shared environment variables.
FAQ from envmcp?
- How do I install envmcp?
You can install envmcp globally using npm with the command
npm install -g envmcp.
- What format should the
.env.mcpfile follow?
The
.env.mcpfile should follow the standard environment file format, with key-value pairs for each environment variable.
- Can envmcp be used with any command?
Yes, envmcp can be used to run any command that requires environment variables.
Project Info
Created At
a year agoUpdated At
a year agoAuthor Name
griffithsbsStar
3Language
TypeScriptLicense
MIT licenseCategory
developer-tools
Recommend Servers
View AllCrevio
2 days ago
Shotapi
@smallhandsome
18 hours ago
Airtreks Mcp
@SEKeener
20 hours ago
Sigstore
@3089464667
a day ago