Skip to content

Start the MCP server after a plain uv sync - #304

Merged
maximilianfeix merged 1 commit into
mainfrom
fix/glama-default-build
Oct 8, 2026
Merged

maximilianfeix merged 1 commit into
mainfrom
fix/glama-default-build

Conversation

@maximilianfeix

Copy link
Copy Markdown
Owner

Closes #303

Glama builds the MCP server itself: uv sync, then uv run proxy-scraper-mcp. The MCP SDK was only in the mcp extra, which a plain uv sync doesn't install, so the server printed the install hint and exited, and Glama's build test found no tools. Its page is still on 1.25.0 for that reason.

Change

  • pyproject.toml: the SDK is also a uv dependency group ([dependency-groups] mcp), and [tool.uv] default-groups = ["mcp"] makes uv sync install it. The requirement is the same string as the extra. pip and the published package ignore dependency groups, so pip install proxy-scraper-cli still pulls in only rich and certifi.
  • docker.yml: a new step builds the server the way Glama does (uv image pinned by digest, uv sync, uv run proxy-scraper-mcp) and runs the existing stdio smoke test against it.
  • A test that the group and the extra stay the same requirement.

Checked

  • Before, in ghcr.io/astral-sh/uv:python3.12-bookworm-slim: tools: []. After: tools: ['check_proxies', 'fetch_url', 'get_proxies'].
  • The new test fails on main's pyproject.toml and passes with the change. 1038 tests pass locally, ruff is clean.

Not checked: Glama's own build. Its admin page needs a login I don't have in this browser, so the cause is taken from reproducing its documented default build, not from its error log. After the merge, Glama's build has to be started again from its admin page; the hand-edited build step there (uv sync --extra mcp) is no longer needed.

🤖 Generated with Claude Code

Glama builds the server with `uv sync` and starts `uv run proxy-scraper-mcp`.
The SDK was only in the mcp extra, so the server exited before listing a tool.
It is now a default uv dependency group too, and the docker workflow builds
the server the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maximilianfeix
maximilianfeix merged commit 1f6e5c2 into main Oct 8, 2026
21 checks passed
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.

Glama's build fails: uv sync leaves out the MCP SDK, the server exits without listing a tool

1 participant