- 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 AllTolstoy Studio
@GoTolstoy
7 minutes ago
Mcp Server Chatsum
@chatmcp
summarize chat message
typescript
a year ago
Test
@modelcontextprotocol
test
6 months ago
Intentions
4 hours ago
Deploycheck
@SarthakDhatrak
a day ago
Tavily Mcp
@tavily-ai
JavaScript
a year ago
Gpt Scrambler
35 minutes ago
Alloy
13 hours ago
Myrsu
@VidhiJav
a day ago
Fixmypdf
2 days ago