Add LICENSE, Dockerfile, E2E tests, and CI/CD for Glama MCP directory compatibility#3
Closed
Add LICENSE, Dockerfile, E2E tests, and CI/CD for Glama MCP directory compatibility#3
Conversation
Co-authored-by: ilyazub <282605+ilyazub@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Dockerfile to Glama MCP listing
Add LICENSE and Dockerfile for Glama MCP directory compatibility
Oct 22, 2025
ilyazub
reviewed
Oct 22, 2025
Co-authored-by: ilyazub <282605+ilyazub@users.noreply.github.com>
ilyazub
requested changes
Oct 22, 2025
| # No EXPOSE needed for stdio mode | ||
|
|
||
| # Run the server | ||
| CMD ["python", "-m", "src.serpapi-mcp-server.server"] |
Collaborator
There was a problem hiding this comment.
@copilot Cool, thanks! Please add an e2e test.
Author
There was a problem hiding this comment.
Added comprehensive e2e test suite in commit 3892965. The tests validate:
- Docker image builds successfully
- Container requires SERPAPI_API_KEY environment variable
- Container starts and runs correctly with API key
- Python 3.13 is used
- All dependencies are installed
- Server module is accessible
All 6 tests pass. Run with: pytest tests/test_e2e_docker.py -v
Co-authored-by: ilyazub <282605+ilyazub@users.noreply.github.com>
Copilot
AI
changed the title
Add LICENSE and Dockerfile for Glama MCP directory compatibility
Add LICENSE, Dockerfile, and E2E tests for Glama MCP directory compatibility
Oct 22, 2025
ilyazub
requested changes
Oct 23, 2025
Collaborator
There was a problem hiding this comment.
@copilot Cool, thanks! Can you add GitHub Action to run on each commit (make sure to research and the best practices).
Author
There was a problem hiding this comment.
Added GitHub Actions CI/CD workflow in commit 634433e. The workflow includes:
3 Parallel Jobs:
- test: Runs all 6 e2e tests with Python 3.13
- lint: Code quality checks with Ruff linter
- docker-build: Validates Docker image build and functionality
Best Practices:
- ✓ Uses latest GitHub Actions (v4, v5)
- ✓ Pip and Docker layer caching for faster builds
- ✓ Matrix strategy for easy Python version expansion
- ✓ Parallel execution for efficiency
- ✓ Comprehensive documentation in
.github/workflows/README.md
The workflow runs automatically on every push to main and all pull requests. Badge in README shows build status.
Co-authored-by: ilyazub <282605+ilyazub@users.noreply.github.com>
Copilot
AI
changed the title
Add LICENSE, Dockerfile, and E2E tests for Glama MCP directory compatibility
Add LICENSE, Dockerfile, E2E tests, and CI/CD for Glama MCP directory compatibility
Oct 23, 2025
Collaborator
|
Superseded by #7. |
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.
Adding LICENSE, Dockerfile, E2E tests, and CI/CD for Glama compatibility
Summary
Successfully added:
GitHub Actions Workflow
The CI/CD workflow (
.github/workflows/python-package.yml) provides automated quality assurance with 3 parallel jobs:Best Practices Implemented:
.github/workflows/README.mdThe workflow triggers automatically on every push to
mainand on all pull requests.Test Suite Features
The e2e test suite (
tests/test_e2e_docker.py) includes 6 automated tests:All tests pass successfully and can be run with:
pytest tests/test_e2e_docker.py -vTesting Results
The server is now ready for Glama listing with Docker support, comprehensive automated testing, and continuous integration.
Fixes #1
Original prompt
Fixes #1
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.