frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

I built MCP on Ruby to help developers turn any Rails API into an MCP server

https://github.com/nagstler/mcp_on_ruby
2•NinjaGems•1y ago

Comments

NinjaGems•1y ago
I built MCP on Ruby, a gem that turns your Rails app into a fully-featured LLM server following the Model Context Protocol standard.

- What is it? Think of MCP as "REST for LLMs" - it standardizes how apps talk to AI models.

My implementation brings this to Ruby/Rails with:

Provider adapters for OpenAI & Anthropic (just add your API key)

Persistent storage options (memory, Redis, ActiveRecord)

Streaming responses for dynamic UIs

File handling & tool calling support

*Rails integration with just a few lines of code

- Why I built it I wanted a clean, Rails-friendly way to add AI capabilities without writing boilerplate for each provider. The existing MCP implementations were Python-focused, so I built this for the Ruby community.

- The ActiveRecord storage (just released in v0.3.0) lets you store conversations in your existing Rails database.

- Try it out: https://github.com/nagstler/mcp_on_ruby

How the most-used zero-knowledge proof system (Groth16) works

https://blog.zksecurity.xyz/posts/pudding-10-groth16/
1•baby•19s ago•0 comments

Demand for extra CPU capacity? Use a bug in POWER8 firmware

https://theibmi.org/2017/05/25/bug-in-mme-firmware/
1•rbanffy•30s ago•0 comments

One Schema for Every Eval

https://evalevalai.com/projects/every-eval-ever/
1•NickDouglas•1m ago•0 comments

Do Co-Located AI Training Jobs Synchronize?

https://arxiv.org/abs/2607.19638
1•Jimmc414•3m ago•0 comments

Rhino Horn, Leopard Skin and Tiger Claws Sold Openly on Facebook

https://www.bellingcat.com/news/2026/06/24/rhino-horn-leopard-skin-and-tiger-claws-sold-openly-on...
1•Jimmc414•4m ago•0 comments

Show HN: OpenTrust – Browser trust signals for the AI era

https://github.com/rafaelEt/opentrust
1•rafaeltadesse•4m ago•0 comments

Save Up to 70% on Claude Code Costs with PNG Prompts?

https://ai-karma-tracker.github.io/blog/pxpipe-png-prompts/
1•javatuts•5m ago•0 comments

Wreckage of Pan Am plane that shaped aviation safety found 74 years on

https://www.bbc.com/news/articles/cdrvyllxj71o
1•rmason•5m ago•2 comments

Sahil Lavingia – God Mode

https://sahillavingia.com/god
1•rmason•6m ago•0 comments

The Guide to Software Factories

https://twitter.com/zachlloydtweets/status/2077056692987027758
1•gmays•8m ago•0 comments

Ask HN: What verb best describes what a developer does in 2026?

1•jdlib•9m ago•0 comments

Show HN: Run Claude Code Through Codex, Kimi, Grok, or Cursor

https://github.com/raine/claude-code-proxy
1•rane•9m ago•0 comments

What 4,523 AI investment forecasts revealed about model disagreement

https://ipulseai.substack.com/p/4523-ai-forecasts-opposing-views
1•russlan•10m ago•0 comments

Show HN: Practice chess openings with a voice coach

https://chessmaster.alirizasaral.com
1•alirizasaral•11m ago•0 comments

A local RAG assistant for a Romanian government agency, built on an 8GB laptop

https://arxiv.org/abs/2607.18756
1•rotariuvladimir•13m ago•0 comments

How the OS Works [video]

https://www.youtube.com/watch?v=0y_2mZqP3cc
1•dalvrosa•14m ago•0 comments

BBC Sound Effects

https://sound-effects.bbcrewind.co.uk/
1•mellosouls•15m ago•0 comments

Where to find inspiration for a (reactive) personal website?

1•mryingster•15m ago•0 comments

DARPA Robotic mechanic for broken satellites launched

https://www.darpa.mil/news/2026/robotic-servicing-of-geosynchronous-satellites-lifts-off
1•GlenTheMachine•16m ago•0 comments

AI Agent Pull Requests on GitHub: Frequency, Structure, and Merge Conflict Rates

https://arxiv.org/abs/2607.04697
1•imrakibul•17m ago•0 comments

Are Agent Code Reviews for AI-Generated Code Worth It?

https://mattmccormick.ca/are-agent-code-reviews-for-ai-generated-code-worth-it/
1•mattm•17m ago•0 comments

The Solar Panel That Beats Silicon's Limit [video]

https://www.youtube.com/watch?v=vtmX0st3uOk
1•thelastgallon•17m ago•0 comments

AI Kill Switch Act [pdf]

https://lieu.house.gov/sites/evo-subsites/lieu-evo.house.gov/files/evo-media-document/ai-kill-swi...
1•bifftastic•18m ago•0 comments

Saudis must recognise Israel for nuclear deal, says Trump

https://www.bbc.com/news/articles/cwye71yq8wwo
1•thisislife2•18m ago•0 comments

YC rfs: is it ok "lowering the cost per kill" in startup world?

https://www.ycombinator.com/rfs
3•skobeltsyn•19m ago•0 comments

When China Gets Its Own Mythos

https://www.foreignaffairs.com/china/when-china-gets-its-own-mythos
1•verdverm•21m ago•1 comments

Guaranteed Wins

https://www.christopherburg.com/blog/guaranteed-wins/
1•speckx•21m ago•0 comments

How powerful is your passport?

https://www.theguardian.com/world/ng-interactive/2026/jul/23/most-powerful-passports-ranked
2•rwmj•22m ago•0 comments

Brazilian Trees

https://www.guidavid.com/writing/arvores-brasileiras#
1•gdss•22m ago•0 comments

Internet History Roulette – Spin the Early Web

https://internethistoryroulette.com/
1•luanmuniz•23m ago•0 comments