feat(mcp): stdio demo subcommand + Glama Dockerfile (closes #593)#609
Merged
feat(mcp): stdio demo subcommand + Glama Dockerfile (closes #593)#609
Conversation
Glama's scoring pipeline introspects MCP servers over stdio JSON-RPC and ranks them on tool description quality. NyxID's production /mcp transport is OAuth-protected Streamable HTTP and exposes per-user dynamic tools, so it can't be scored that way. Add `nyxid mcp-demo` -- a parallel stdio entry point that returns a curated, hardcoded tool surface (nyx_proxy_request, nyx_list_services, nyx_request_approval, nyx_exchange_identity) reflecting NyxID's gateway positioning. The subcommand dispatches before dotenv/tracing init to keep the protocol stream clean. No DB, no auth, no shared state with the production server. Also adds glama.json maintainer entry for kaiweijw to unblock listing claim, and a Glama-targeted Dockerfile (150 MB) that runs the demo subcommand. Closes #593.
kaiweijw
added a commit
that referenced
this pull request
May 4, 2026
…ne crate The `nyxid mcp-demo` subcommand introduced in PR #609 only existed for Glama's directory listing, which now uses the dedicated `nyxid-mcp-demo` binary from the new `mcp-demo` workspace crate. Removing the duplicate keeps a single source of truth for the curated tool definitions and shrinks the backend binary's argv surface.
3 tasks
nwnwnw413
pushed a commit
to nwnwnw413/awesome-mcp-servers
that referenced
this pull request
May 4, 2026
Inlines the score badge after the GitHub link, matching the format @punkpeye specified in the triage comment and the depwire/depwire reference entry above. Glama listing was claimed and evaluated upstream (see ChronoAIProject/NyxID#609 for the maintainer claim and Dockerfile.glama work).
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.
Summary
nyxid mcp-demo— a stdio JSON-RPC subcommand exposing a curated, hardcoded tool surface (nyx_proxy_request,nyx_list_services,nyx_request_approval,nyx_exchange_identity). For directory-listing introspection (Glama). No DB, no auth, no shared state with the production/mcpHTTP transport.kaiweijwtoglama.jsonmaintainers so the Glama listing can be claimed.Dockerfile.glama(150 MB) that builds the binary and runsnyxid mcp-demoas ENTRYPOINT.Why
Glama's scoring pipeline (per their bot comment on punkpeye/awesome-mcp-servers#5485) introspects a server's
tools/listover stdio and grades it on tool-description quality (70%) + server coherence (30%). NyxID's production transport is OAuth-protected Streamable HTTP at/mcpwith per-user dynamic tools — it can't be scored under that model. The demo subcommand is a parallel entry point built specifically to be introspectable by directory listings.The 4 demo tools mirror NyxID's gateway positioning (proxy, discovery, approval, identity exchange) but are not wired to a backing service —
tools/callreturns a stub message pointing users at the real HTTP endpoint.Verification
Local stdio:
Docker:
Stderr stays clean (tracing/dotenv are skipped in
mcp-demomode so JSON-RPC stream isn't corrupted).Follow-up after merge
kaiweijwis on the maintainers list).Dockerfile.glamacontent into Glama's admin Dockerfile page (Glama doesn't auto-read it from the repo).tools/listintrospection lands a score.@punkpeye's format.Test plan
cargo build,cargo test,cargo clippy,cargo fmt --check(pre-commit hooks already passed locally)nyxid mcp-demoresponds toinitialize,tools/list,ping, and unknown methods (-32601)docker build -f Dockerfile.glama .succeeds and the resulting image speaks stdio MCP