Skip to content

Fastify support or custom HTTP adapter? #441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Njuelle opened this issue May 3, 2025 · 1 comment · May be fixed by #474
Open

Fastify support or custom HTTP adapter? #441

Njuelle opened this issue May 3, 2025 · 1 comment · May be fixed by #474
Labels
enhancement New feature or request

Comments

@Njuelle
Copy link

Njuelle commented May 3, 2025

Hi team,

I’m wondering how to use the MCP TypeScript SDK with a backend (NestJS) that uses Fastify instead of Express?

Currently, the SDK seems to be tightly coupled with Express, but it could be a great feature to support Fastify or provide a way to use a custom HTTP adapter so users can integrate their own.
What do you think would be the best approach?

I’d be happy to work on a PR for this :)

Thanks in advance!

@Njuelle Njuelle added the enhancement New feature or request label May 3, 2025
@haroldadmin
Copy link

haroldadmin commented May 4, 2025

Hi, I maintain a plugin to run MCP servers over Fastify. I'm working on adding support for Streamable HTTP support, and it should be out soon it's out now!

https://github.com/haroldadmin/fastify-mcp

@Njuelle Njuelle linked a pull request May 9, 2025 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants