MCPVault

optional_env_var

MCP tool from Hooks MCP by scosman

Similar to requiredenvvar but optional. The server will not error on startup if this is missing.

How to use it

optional_env_var is exposed by the Hooks MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the optional_env_var tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Hooks MCP

$uvx hooks-mcp
FULL HOOKS MCP LISTING