Skip to content

feat(mcp-server): Dockerfile and glama.json for the Glama server listing - #10

Merged
teakesdev merged 1 commit into
mainfrom
feat/glama-docker
Oct 23, 2026
Merged

teakesdev merged 1 commit into
mainfrom
feat/glama-docker

Conversation

@teakesdev

Copy link
Copy Markdown
Owner

Why

The awesome-mcp-servers listing (punkpeye/awesome-mcp-servers#12672) is blocked. The maintainer (2026-10-23) requires a Glama server listing at glama.ai/mcp/servers/teakesdev/corpus-agent-kit, claimed by the owner and with a quality score. The existing connector listing for the hosted endpoint doesn't count. Glama scores a server by starting it in Docker and sending initialize + tools/list, and this repo had no Dockerfile.

What

  • Dockerfile: a two-stage node:22-alpine build of the mcp-server workspace only. The runtime image holds just the compiled output, since the server has no runtime dependencies. It runs as node with a stdio entrypoint. No API key is needed to start it; CORPUS_API_KEY is optional.
  • .dockerignore: keeps node_modules, dist, .git and .env* out of the build context.
  • glama.json: claims the server for maintainer teakesdev (schema https://glama.ai/mcp/schemas/server.json).
  • CI: adds a docker build step so the image can't stop building unnoticed.

Verified locally

  • docker build . succeeds (234 MB image).
  • docker run -i --rm over stdio, with no API key:
    • initialize → corpus-legal 1.2.1, protocol 2025-06-18
    • tools/list → 10 tools (law.search, law.get_node, law.list_coverage, account.status, formation.*)
    • ping → {}
    • the container exits cleanly when stdin closes.
  • npm test, npm run typecheck, node scripts/check-plugin-package.mjs and package-openai-plugin.py HEAD pass.

Not independently reviewed.

After merge

  1. Submit/claim teakesdev/corpus-agent-kit at https://glama.ai/mcp/servers and let the score evaluate.
  2. On #12672, swap the connector badge for the server badge.

🤖 Generated with Claude Code

awesome-mcp-servers only lists servers with their own Glama server page
(glama.ai/mcp/servers/teakesdev/corpus-agent-kit), and Glama scores a
server by starting it in Docker and sending initialize + tools/list. The
connector listing for the hosted endpoint does not count.

- Dockerfile: two-stage node:22-alpine build of the mcp-server workspace
  only; the runtime image is the compiled output (no runtime deps), runs
  as the node user, stdio entrypoint.
- glama.json: claims the server for maintainer teakesdev.
- CI: docker build, so the image can't silently stop building.

Verified locally: the image answers initialize (corpus-legal 1.2.1),
tools/list (10 tools) and ping over stdio, with no API key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Oct 23, 2026

Copy link
Copy Markdown

Your organization has run out of review credits. Add credits to resume code reviews.

@teakesdev
teakesdev merged commit e741e44 into main Oct 23, 2026
1 check passed
@teakesdev
teakesdev deleted the feat/glama-docker branch October 23, 2026 20:52
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