Skip to content

Conversation

@ivanilves
Copy link

Description

Add a Dockerfile for the Glean local-mcp-server to enable containerized deployment. This allows users and developers to easily build and run the MCP server in a consistent Docker environment without local Node.js setup requirements.

Related Issue

Related to #106

Motivation and Context

To enable containerized deployment of the Glean local MCP server, providing:

  • Consistent runtime environment across different systems
  • Simplified deployment and distribution
  • Easier integration with container orchestration tools
  • Reduced local setup complexity for users

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code refactoring
  • Build/CI pipeline changes
  • Other (please describe): Just a Dockerfile.

How Has This Been Tested?

  • Unit tests
  • Integration tests
  • Manual testing
  • Other (please describe):
    • Successfully built Docker image using docker build -t glean-mcp-server .
    • Tested container execution in docker-compose environment
    • Verified MCP server functionality within containerized environment
    • Confirmed all dependencies are properly installed and accessible

Additional Notes

This is a non-breaking addition that:

  • Does not modify existing MCP server functionality
  • Uses Node.js Alpine base image for minimal footprint
  • Includes proper user setup for security best practices
  • Exposes standard MCP server port

Build command:

docker build -t glean-mcp-server .

@ivanilves ivanilves requested a review from a team as a code owner September 22, 2025 06:14
Copy link
Member

@rwjblue-glean rwjblue-glean left a comment

Choose a reason for hiding this comment

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

Overall, this seems good! Can you throw together a basic github actions workflow that ensures the Dockerfile continues to work?

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