Skip to content

Fix package root entrypoint#3

Open
alejandrorivas-pixel wants to merge 1 commit into
sandy-mount:gh-pagesfrom
alejandrorivas-pixel:fix-root-entrypoint
Open

Fix package root entrypoint#3
alejandrorivas-pixel wants to merge 1 commit into
sandy-mount:gh-pagesfrom
alejandrorivas-pixel:fix-root-entrypoint

Conversation

@alejandrorivas-pixel

Copy link
Copy Markdown

Summary

  • add a root index.js entrypoint that exports createMcpApp() and JSON-RPC response helpers
  • refactor bin/server.js so the CLI still starts the listener, while importing mcp-server does not
  • add node:test coverage for the root export and initialize capabilities response
  • refresh the npm lockfile metadata to match the current package version/bin

Fixes #2.

Validation

  • npm test
  • git diff --check
  • packed tarball smoke: install local tarball and import('mcp-server') returns a createMcpApp factory

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.

Package root entrypoint points to missing index.js

2 participants