Add MCP service to docker compose - #2521
Merged
Merged
Conversation
|
ravikiranvm
marked this pull request as draft
September 21, 2026 10:23
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The new openops-app healthcheck depends on wget being present in the runtime image, which is not explicitly guaranteed and can prevent dependent services from starting.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
Adds an optional MCP sidecar service to the docker-compose deployment so external agents can connect via ${OPS_PUBLIC_URL}/mcp using OAuth, with gateway routing and deployment documentation updates.
Changes:
- Add
openops-mcpas an opt-in Compose profile (mcp) and document required environment setup. - Route
/mcpand OAuth discovery/protected-resource well-known paths through the gateway nginx to support agent OAuth flows. - Add healthchecks and new
.env.defaultsentries for OAuth + MCP resource configuration.
| File | Description |
|---|---|
| docs/oauth.md | Documents docker-compose specifics for issuer/resource URL derivation and nginx routing requirements for OAuth + MCP. |
| deploy/docker-compose/README.md | Adds instructions for enabling and connecting to the MCP server in the docker-compose deployment. |
| deploy/docker-compose/nginx.gateway.routing.template | Adds gateway routes for /mcp, oauth-protected-resource, and AS discovery well-known endpoints. |
| deploy/docker-compose/docker-compose.yml | Adds healthchecks; introduces openops-mcp service behind an opt-in compose profile. |
| deploy/docker-compose/.env.defaults | Adds opt-in OAuth/MCP-related defaults and guidance for enabling the mcp profile. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Sep 21, 2026
ravikiranvm
marked this pull request as ready for review
September 21, 2026 15:07
MarceloRGonc
approved these changes
Sep 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Fixes OPS-4863.
Additional Notes