ref-tools-mcp icon indicating copy to clipboard operation
ref-tools-mcp copied to clipboard

Is ref-tools-mcp self hostable?

Open SinisterSpatula opened this issue 1 year ago • 3 comments

I code just for fun as a hobby. I'm curious if I can self host this mcp server. I read through the readme and the code, but still have some questions. The readme says the codebase here doesn't support streamable http but yet the code base seems to actually support it. I personally don't understand the benefit in a self hosting scenario anyway, but that was a bit odd. So it does, but the readme is not up to date, or ?

The readme mentions that it can: Filter search results and Fetches the part of the page that matters. However I couldn't find any code in the codebase which actually does that. But maybe I didn't know where to look. Does this code base actually do that, or is that the "secret sauce" and only in the paid not-self-hosted service?

It would be interesting to add a documentation lookup MCP to my GitHub copilot vs code tool, but am looking to do it on self-host hobbyist budget. 😸

SinisterSpatula avatar Jul 25 '25 03:07 SinisterSpatula

Hi thanks for checking out Ref! The code in this repo can be run locally and you're absolutely right it does not do the fetching and documentation chunking.

All the search logic lives in the api.ref.tools server and it can't be self-hosted at the moment. The main reason for that is I want to be able to operate and try random ideas and supporting an opensource, self-hosted product is time consuming. Once things settle, I hope to provide a self-hosted option. 😀

Ref comes with 200 free searches which should last a while if you're not a professional engineer. I find Ref is super helpful when it's needed but not needed all the time.

MatthewDailey avatar Jul 25 '25 07:07 MatthewDailey

I'll be looking forward to it if you open source it.

There are many (big) companies that can't use tools like this because of the external calls. Providing a local or configurable version so it can run on internal tools could open your product up to many, many more people :)

Regardless, great work.

chreez avatar Jul 25 '25 17:07 chreez

@chreez 💯 yup you read my mind!

MatthewDailey avatar Jul 25 '25 17:07 MatthewDailey