Skip to content

Add MCP service to docker compose - #2521

Merged
ravikiranvm merged 1 commit into
mainfrom
ops-4863
Sep 21, 2026
Merged

ravikiranvm merged 1 commit into
mainfrom
ops-4863

Conversation

@ravikiranvm

Copy link
Copy Markdown
Contributor

Fixes OPS-4863.

Additional Notes

Copilot AI lite review requested due to automatic review settings September 21, 2026 10:20
@linear

linear Bot commented Sep 21, 2026

Copy link
Copy Markdown

OPS-4863

@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 High severity

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-mcp as an opt-in Compose profile (mcp) and document required environment setup.
  • Route /mcp and OAuth discovery/protected-resource well-known paths through the gateway nginx to support agent OAuth flows.
  • Add healthchecks and new .env.defaults entries 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.

Comment thread deploy/docker-compose/docker-compose.yml
@ravikiranvm
ravikiranvm merged commit 8ced3f9 into main Sep 21, 2026
24 checks passed
@ravikiranvm
ravikiranvm deleted the ops-4863 branch September 21, 2026 15:11
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.

3 participants