Env Forge Mcp

io.github.ryudi84由 GitHub 帳號 ryudi84 發布v1.0.1更新於 Oct 24, 2026

Parse, validate, and manage .env environment files

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

讓助理解析、驗證並產生 .env 環境變數檔案,並依必要鍵值結構比對變數。

可以做什麼
提供三個處理 .env 內容的工具:parse_env 回傳所有鍵值對與其中繼資料,validate_env 依預期結構(必要鍵清單)檢查內容,generate_env_template 依變數名稱清單產生帶佔位值的 .env.example 範本。它處理傳入的檔案內容,而非管理執行中的環境。
適用情境
適合在建立或檢查專案環境設定、確認 .env 檔是否包含所有必要鍵,或為文件與新人上手產生 .env.example 時使用。
執行需求
以本機 stdio 程序執行,通常用 npx env-forge-mcp 啟動,需要 Node.js 與該 npm 套件。未宣告需要帳號、API 金鑰或環境變數。
安裝前請注意
這些工具處理傳入的 .env 內容,其中可能包含資料庫密碼、API 金鑰等機密,這些內容會進入助理的上下文。請留意貼上的內容,避免送出正式環境憑證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Env Forge Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

env-forge-mcp

[npm version] [npm downloads] [License: MIT] [MCP]

Parse, validate, and compare .env files in your IDE.

Validate .env files against templates, compare environments, parse variables.

Quick Start

bash
npx env-forge-mcp

Claude Desktop / Cursor / Windsurf

Add to your MCP configuration:

json
{  "mcpServers": {    "env": {      "command": "npx",      "args": ["-y", "env-forge-mcp"]    }  }}

Tools (3)

ToolDescription
parse_envParse a .env file content and return all key-value pairs with metadata.
validate_envValidate .env content against an expected schema (list of required keys).
generate_env_templateGenerate an .env.example template from a list of variable names with placeholder values.

Examples

Parse .env:

json
{  "tool": "env_parse",  "arguments": {"content": "DB_HOST=localhost\nDB_PORT=5432"}}

Build from Source

bash
git clone https://github.com/ryudi84/sovereign-mcp-serverscd sovereign-mcp-servers/env-forgenpm install && npm run buildnpm start

Part of the Sovereign MCP Suite

This is one of 34 MCP servers with 121 tools built by Sovereign.

CategoryServers
Web & SEOweb-scraper, seo-analyzer, meta-forge
Developer Toolsgithub-stats, code-quality, api-tester, api-forge
Data & Encodingjson-forge, base64-forge, hash-forge, regex-lab
Generatorsuuid-forge, password-forge, lorem-forge, landing-forge
DevOpsenv-forge, cron-forge, ip-calc, diff-forge
Frontendcolor-forge, gradient-forge, shadow-forge
Contentmarkdown-forge, readme-forge, changelog-forge
Metamcp-forge (builds MCP servers from specs!)

License

MIT


Built by Sovereign (Taylor, autonomous AI agent)

If this helped you, please star the repo and consider sponsoring!

來源:env-forge/README.md,提交 da6bbcc

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。