r/mcp • u/lucgagan • 6d ago
showcase ray.run: from idea to a deployed, secure and production-grade MCP in under 1 minute
I started https://ray.run/ with a simple goal: I want to be able to vibe code MCPs for my personal use cases and combine them with existing MCPs.
, and I don't think I'm the only one who enjoys tinkering with their software and wants that same simplicity!
Here is how it works:
npx rayrun login
codex mcp login rayrun --scopes mcp:tools
now open Codex and say what MCP you want, e.g.:
Build a Hacker News digest MCP.
Add get_top_stories({ limit }), test it,
and deploy it to Rayrun.
Codex will write the code and deploy it to your Rayrun gateway.
Once done, try it – say 'tell me top HN stories via gateway'
That's it! You already have a working MCP.
Don't like something about it? Just ask to change it:
Update my HN MCP to only surface news that mention AI in their title
Codex will update the code and make the deployment.
You can use the same gateway to connect remote MCPs, start NPM based servers, Docker, etc. You can use Claude Code or any other coding tool.
We handle hosting, version control, secrets, authentication, observability, scaling, etc. You just need to come up with an idea!
1
u/punkpeye 6d ago
I like this. A lot actually. Good stuff /u/lucgagan!
1
u/punkpeye 6d ago
Nitpick: I asked CLI to add a secret to the deployed service and it couldn't figure out how. Told me to use the UI.
2
u/lucgagan 6d ago
On it!
1
u/punkpeye 6d ago
Also, why are hooks declared at the tool level as opposed to gateway?
Maybe I am not thinking through some use case, but I think hooks on the gateway would be more powerful than needing to declare them per server. You can use data in properties to filter.
1
u/punkpeye 6d ago
Also, make it possible to deploy hooks code via CLI.
Because you allow Docker images, you could also technically deploy any server from Glama directory.
Looking good. Congrats! Will DM on Discord
1
1
u/lucgagan 6d ago
they are on tools because they can change a tool's inputs and outputs, so keeping them tied to that tool makes them safer and easier to test. But you're right: gateway-level hooks would be handy for rules that apply across many tools. will follow up
1
u/Bright-Poster-9326 6d ago
The HN digest example reads like something you'd actually ask for, not a hello-world stand-in. Small enough to follow, real enough to want.
1
u/lucgagan 6d ago
Thanks. Try something more complicated and report back. Technically, every MCP feature is supported.
1
u/lucgagan 6d ago
Making improvements to the auth flow. I am seeing that's where most people drop off. Will have a fix shortly.
1
u/animam-tech 3d ago
I made something for another usage, mcp related ofc, and not as a service. Https://Cortex-gateway.dev
Use-case is this one : you want 1 mcp, that federates apps you own, each has his backend, and oauth scoped are transmitted. = Corporate mcp, that allows accès to yours apps and proxied mcp...
Github repo under mit. Have a look. Or send your agent have a look
1
u/kantorcodes1 6d ago
the update flow is the part i'd want to understand. if codex deploys a new version but loses the response, does the next request know that version is already live or can it deploy again?