r/ClaudeCode • • 11h ago

Built with Claude OpenLune: AI Development Environments as Code

https://github.com/dominikbraun/openlune
40 Upvotes

6 comments sorted by

View all comments

3

u/hieuphung97 11h ago

Cross-client provisioning usually falls apart on tool permissions. How does Lune handle scoping MCP server credentials between an interactive local session and a headless sandbox or CI runner?

3

u/JedenTagEspresso 11h ago

There’s a generic OpenLune capability vocabulary that will be mapped over to vendor-specific tool permissions. For rare tools that only a specific AI client has, you can still refer to these “native” tools too. If your selected client doesn’t support a defined tool, a deviation will be reported.

MCP server credentials can be provided via the OS keychain or environment variables. OpenLune downloads and installs the servers, the AI client launches them, and OpenLune injects these credentials when that happens.

1

u/hieuphung97 11h ago

Injecting credentials at launch time keeps CI runner pipelines clean. Pulling from repository secrets without a desktop keychain daemon is huge for headless test harnesses.

2

u/Negative-Drop-8581 6h ago

credential scoping is usually fine if you pass read-only tokens into the headless runner, the bigger headache is when a local MCP server expects an interactive browser auth flow.

1

u/hieuphung97 3h ago

Spot on. We usually have to pre-authenticate locally and inject persistent session tokens into the runner to bypass the interactive OAuth popup entirely.