Skip to content

chore: replace @platformatic/mcp patch with @getlarge/fastify-mcp fork#5

Merged
getlarge merged 4 commits intomainfrom
chore/use-fastify-mcp-fork
Jan 25, 2026
Merged

chore: replace @platformatic/mcp patch with @getlarge/fastify-mcp fork#5
getlarge merged 4 commits intomainfrom
chore/use-fastify-mcp-fork

Conversation

@getlarge
Copy link
Owner

Summary

  • Replace patch-package workaround with npm override pointing to @getlarge/fastify-mcp fork
  • Remove the patch file that was modifying @platformatic/mcp
  • Add @getlarge/fastify-mcp as direct dependency for proper resolution

Why

The fork at getlarge/fastify-mcp includes features needed for this project:

  • OIDC Discovery support (PR #97) - Required for Ory Hydra integration
  • Resource subscription handlers (PR #98) - Enables resources/subscribe and resources/unsubscribe MCP methods

Once these PRs are merged upstream, we can remove the override and switch back to @platformatic/mcp.

Test plan

  • All 76 tests pass
  • MCP server starts correctly
  • npm install works with override

🤖 Generated with Claude Code

getlarge and others added 4 commits January 25, 2026 18:49
- Add npm override to redirect @platformatic/mcp to @getlarge/fastify-mcp
- Add @getlarge/fastify-mcp as direct dependency for proper resolution
- Remove patch file (no longer needed)
- Update package-lock.json

The fork includes:
- OIDC discovery support (PR #97)
- Resource subscription handlers (PR #98)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…file

This prevents CI failures where `npm ci` complains about missing packages
like pg, ioredis, and @aws-sdk/client-s3 which are optionalDependencies
in the mcp-server workspace.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Instead of using npm override (which caused lock file sync issues),
directly import from @getlarge/fastify-mcp in all source files.

Changes:
- Replace all @platformatic/mcp imports with @getlarge/fastify-mcp
- Update mcp-server/package.json dependency
- Remove override from root package.json
- Regenerate package-lock.json

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The fork uses singular method names:
- mcpSetResourceSubscribeHandler (not mcpSetResourcesSubscribeHandler)
- mcpSetResourceUnsubscribeHandler (not mcpSetResourcesUnsubscribeHandler)

Also removed duplicate FastifyInstance augmentation since the types
are already provided by @getlarge/fastify-mcp.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@getlarge getlarge merged commit 6da5507 into main Jan 25, 2026
6 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.

1 participant

Comments