Skip to content

Add MCP-server Dockerfile (stdio) for Glama introspection#1

Merged
ashfordeOU merged 1 commit into
mainfrom
add-mcp-dockerfile-for-glama
Jun 18, 2026
Merged

Add MCP-server Dockerfile (stdio) for Glama introspection#1
ashfordeOU merged 1 commit into
mainfrom
add-mcp-dockerfile-for-glama

Conversation

@ashfordeOU

Copy link
Copy Markdown
Owner

What

Adds a root Dockerfile that runs the MCP server on stdio (dist/index.js — the grasp-mcp bin / npm start).

Why

docker/Dockerfile builds the grasp CLI (ENTRYPOINT ["grasp"], CMD ["--help"]), which can't answer the MCP handshake (initialize / tools/list). Glama therefore reports the server as "cannot be installed", which blocks the awesome-mcp-servers listing (PR punkpeye/awesome-mcp-servers#8191) and keeps the Glama quality/security checks from completing.

How

  • Build stage mirrors docker/Dockerfile (same npm ci --legacy-peer-deps --ignore-scripts + npm run build), so it stays in lock-step with the published grasp-mcp-server.
  • Entrypoint is the MCP server (node dist/index.js), not the CLI.
  • Starts with no config (public repos, 60 GitHub req/hr); GITHUB_TOKEN raises limits — matching smithery.yaml.

Note on the Glama "license not found"

The package already declares "license": "Elastic-2.0" (a valid SPDX id) in mcp/package.json, and the LICENSE + image labels are consistent. GitHub's detector reports NOASSERTION because Elastic-2.0 is source-available, not OSI-approved — so this is inherent to the license choice, not a metadata bug. The awesome-mcp-servers maintainer has stated the license grade is not required for merge; a fresh Glama re-evaluation should at minimum resolve the license to Elastic-2.0 rather than "not found".

The existing docker/Dockerfile builds the `grasp` CLI (ENTRYPOINT grasp --help),
which cannot answer the MCP handshake — so Glama reports the server as 'cannot be
installed'. This adds a root Dockerfile that starts the MCP server on stdio
(dist/index.js, the grasp-mcp bin / npm start), mirroring the proven build stage so
it stays in lock-step with the published grasp-mcp-server package. Runs with no
config (public repos, 60 req/hr); GITHUB_TOKEN raises limits.
@ashfordeOU ashfordeOU merged commit 0ca2476 into main Jun 18, 2026
18 of 20 checks passed
@ashfordeOU ashfordeOU deleted the add-mcp-dockerfile-for-glama branch June 18, 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