Skip to content

build: add Dockerfile for Glama MCP server verification - #51

Merged
lnanology merged 1 commit into
mainfrom
add/mcp-glama-dockerfile
Sep 9, 2026
Merged

build: add Dockerfile for Glama MCP server verification#51
lnanology merged 1 commit into
mainfrom
add/mcp-glama-dockerfile

Conversation

@lnanology

Copy link
Copy Markdown
Owner

awesome-mcp-servers (punkpeye) changed its listing requirements: to keep XFINLAB's PR (#13369) listed, the MCP server must be submitted to glama.ai/mcp/servers, which builds and runs the repo's own Dockerfile to verify the server actually starts and responds to MCP introspection requests, rather than only checking the live production URL.

No Dockerfile existed before this (Railway deploys via nixpacks.toml + Procfile instead). Added a minimal, production-only Dockerfile:

  • python:3.10-slim, matching the Python version CI already uses
  • build-essential included defensively in case QuantLib (a compiled C++ dependency) doesn't have a prebuilt wheel for whatever platform Glama builds on
  • installs requirements.txt only (not requirements-dev.txt -- test-only deps, irrelevant to booting the app)
  • NEWS_API_KEY placeholder env var, same pattern already proven in .github/workflows/ci.yml (services/news_service.py only checks the key is present at import time, never calls the real NewsAPI to boot)
  • CMD mirrors the Procfile's uvicorn command exactly

Verified without Docker itself (not available in this sandbox): ran the identical pip install + NEWS_API_KEY placeholder + uvicorn command in a clean venv, then POSTed a real MCP tools/list request to /api/mcp -- got HTTP 200 with all 5 tools listed correctly.

Also updated directory-submissions-tracker.md: SaaSHub approved (2026-09-09 email).

awesome-mcp-servers (punkpeye) changed its listing requirements: to keep
XFINLAB's PR (#13369) listed, the MCP server must be submitted to
glama.ai/mcp/servers, which builds and runs the repo's own Dockerfile to
verify the server actually starts and responds to MCP introspection
requests, rather than only checking the live production URL.

No Dockerfile existed before this (Railway deploys via nixpacks.toml +
Procfile instead). Added a minimal, production-only Dockerfile:
- python:3.10-slim, matching the Python version CI already uses
- build-essential included defensively in case QuantLib (a compiled
  C++ dependency) doesn't have a prebuilt wheel for whatever platform
  Glama builds on
- installs requirements.txt only (not requirements-dev.txt -- test-only
  deps, irrelevant to booting the app)
- NEWS_API_KEY placeholder env var, same pattern already proven in
  .github/workflows/ci.yml (services/news_service.py only checks the key
  is *present* at import time, never calls the real NewsAPI to boot)
- CMD mirrors the Procfile's uvicorn command exactly

Verified without Docker itself (not available in this sandbox): ran the
identical pip install + NEWS_API_KEY placeholder + uvicorn command in a
clean venv, then POSTed a real MCP tools/list request to /api/mcp --
got HTTP 200 with all 5 tools listed correctly.

Also updated directory-submissions-tracker.md: SaaSHub approved
(2026-09-09 email).
@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
finlab-ai Ready Ready Preview Sep 9, 2026 8:11am UTC

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.

1 participant