-
I have a service with an HTTP API, and I would like to add MCP support for it. Basically, I have two options:
I understand that for many people the only viable option is option 2, since you do not have access to the source code of the service you want to access via MCP, but in my case I could save an additional network hop. Now it's not a problem to run an additional SSE server from my service, but ideally I would like to integrate it with the already existing HTTP endpoint. If this good practice (if not: why not?), and if yo, how can I do this? All the examples I found always assume that you want to run an MCP server standalone. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@goloroden Thanks for the question. You can now bring in your own HTTP server instance as added by the PR here. I was hoping to get it merged before commenting here but I was out. So you can try it now and see if it matches your need. |
Beta Was this translation helpful? Give feedback.
@goloroden Thanks for the question. You can now bring in your own HTTP server instance as added by the PR here. I was hoping to get it merged before commenting here but I was out. So you can try it now and see if it matches your need.
#347