Skip to content

Conversation

@EricGustin
Copy link
Member

@EricGustin EricGustin commented Jan 2, 2026

Resolves TOO-201


Note

Implements robust .env discovery and integrates it across CLI and server, with tests and version updates.

  • Add find_env_file() in arcade_mcp_server.settings to traverse parents for .env, and load with MCPSettings.from_env()
  • Update CLI (configure.py, deploy.py, utils.py) to use upward .env search for secrets and provider keys; improved deploy messaging
  • Enhance MCPApp reload to watch the discovered .env (including when outside cwd)
  • Templates: add root .env.example for minimal toolkit; remove nested src/.../.env.example
  • Tests: new test_env_discovery.py and cli/test_configure.py; refactor conftest.py to isolate environment
  • Version/deps: bump arcade-mcp-server to 1.15.0 and workspace arcade-mcp to 1.8.0, update dependency constraints

Written by Cursor Bugbot for commit 8cb1281. This will update automatically on new commits. Configure here.

@codecov
Copy link

codecov bot commented Jan 2, 2026

Codecov Report

❌ Patch coverage is 82.85714% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
libs/arcade-cli/arcade_cli/deploy.py 20.00% 4 Missing ⚠️
...ibs/arcade-mcp-server/arcade_mcp_server/mcp_app.py 71.42% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@EricGustin EricGustin changed the title Improve .env discovery Improve .env discovery Jan 2, 2026
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.

2 participants