Skip to content

feat: add --env-file flag for loading configuration from file#12

Merged
clappingmonkey merged 1 commit intomainfrom
feature/env-file-flag
Mar 18, 2026
Merged

feat: add --env-file flag for loading configuration from file#12
clappingmonkey merged 1 commit intomainfrom
feature/env-file-flag

Conversation

@clappingmonkey
Copy link
Copy Markdown
Owner

Allow users to load configuration from a .env file instead of environment variables, similar to mcp-atlassian's --env-file flag.

Key features:

  • Simple parser supporting KEY=value format, comments, and quoted values
  • Existing environment variables take precedence over file values
  • No external dependencies (manual parser implementation)

This enables easier configuration management, especially for MCP clients that support command-line arguments but not environment variables.

Allow users to load configuration from a .env file instead of
environment variables, similar to mcp-atlassian's --env-file flag.

Key features:
- Simple parser supporting KEY=value format, comments, and quoted values
- Existing environment variables take precedence over file values
- No external dependencies (manual parser implementation)

This enables easier configuration management, especially for MCP
clients that support command-line arguments but not environment
variables.
@clappingmonkey clappingmonkey force-pushed the feature/env-file-flag branch from 508bc91 to 19fb54b Compare March 18, 2026 10:44
@clappingmonkey clappingmonkey merged commit cdd6584 into main Mar 18, 2026
6 checks passed
@clappingmonkey clappingmonkey deleted the feature/env-file-flag branch March 18, 2026 10:51
@zuul-mcp-bot zuul-mcp-bot Bot mentioned this pull request Mar 18, 2026
clappingmonkey pushed a commit that referenced this pull request Mar 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.3.0](v0.2.2...v0.3.0)
(2026-03-18)


### Features

* add --env-file flag for loading configuration from file
([#12](#12))
([cdd6584](cdd6584))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: zuul-mcp-bot[bot] <268975808+zuul-mcp-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant