frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•7mo ago

Comments

NinjaGems•7mo 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

Is resumable LLM streaming hard? No, it's just annoying

https://stardrift.ai/blog/streaming-resumptions
1•gmays•3m ago•0 comments

Using Vectorize to build an unreasonably good search engine in 160 lines of code

https://blog.partykit.io/posts/using-vectorize-to-build-search/
1•ColinWright•3m ago•0 comments

Documents related to early Unix history before V7

https://github.com/thaliaarchi/unix-history
1•naves•3m ago•0 comments

China, Russia pulling ahead of NATO in Arctic drone capabilities: report

https://www.cbc.ca/news/politics/drones-arctic-russia-china-nato-9.7020149
1•Teever•7m ago•0 comments

Lend-Lease: How America Looted the British Empire During World War II [video]

https://www.youtube.com/watch?v=LMy3BAJYi54
3•thelastgallon•9m ago•0 comments

ELF Crimes: Program Interpreter Fun

https://nytpu.com/gemlog/2025-12-21
3•nytpu•9m ago•0 comments

Textpattern CMS 4.9.0

https://textpattern.com/weblog/textpattern-490-released-php-85-mysql-84-features-fixes-fine-tunin...
1•petecooper•13m ago•0 comments

Why Is Saudi Arabia Buying Everything? [video]

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

Dark Enlightenment

https://en.wikipedia.org/wiki/Dark_Enlightenment
2•throw0101c•14m ago•1 comments

ServerList: Compare VPS Prices and Performance

https://serverlist.dev/
1•satvikpendem•15m ago•0 comments

Ask HN: Why are AI code editors not continuously working?

1•sigalor•15m ago•1 comments

Show HN: Books mentioned on Hacker News in 2025

https://hackernews-readings-613604506318.us-west1.run.app
2•seinvak•18m ago•1 comments

Shooting myself in the foot with Git by accident

https://utcc.utoronto.ca/~cks/space/blog/programming/GitConcurrentUsageOops
1•birdculture•20m ago•0 comments

Show HN: AI LinkedIn Post Generator – Gemini-powered with 5 tone options

https://primedirectiveshop.danprice.ai/
1•pdai_exp•20m ago•1 comments

Show HN: Fixing Chase Travel's UI

https://rkdvis.com/chase-travel/
1•ktut•22m ago•0 comments

How GNU Guile is 10x better (2021)

https://www.draketo.de/software/guile-10x
2•Tomte•22m ago•0 comments

Journelly 1.3 released: Hello Markdown

https://xenodium.com/journelly-1-3-released
1•xenodium•22m ago•0 comments

Olaf: Bringing an Animated Character to Life in the Physical World

https://arxiv.org/abs/2512.16705
1•azhenley•23m ago•0 comments

Show HN: DevTools Hub – Free JSON/Base64/URL/Hash Utilities

https://primedirectiveshop.danprice.ai/tools/
1•pdai_exp•25m ago•0 comments

DNS4EU Blocks Blog.fefe.de

2•koehr•25m ago•3 comments

Ask HN: What developer tool do you wish existed in 2026?

3•allenleee•26m ago•1 comments

The engineering reality of Hybrid Cloud in 2025: Data gravity and egress shock

https://www.rack2cloud.com/hybrid-vs-multi-cloud-2025-engineering-guide/
1•NTCTech•28m ago•0 comments

A Change to YouTube's Inclusion on the U.S. Billboard Charts

https://blog.youtube/news-and-events/youtube-billboard-chart-update/
3•ChrisArchitect•31m ago•0 comments

Google joins attacks on Britain over free speech online

https://www.telegraph.co.uk/business/2025/12/21/google-joins-attacks-on-britain-over-free-speech-...
2•delichon•32m ago•1 comments

Conscious Birds

https://royalsocietypublishing.org/rstb/article/380/1939/20240308/235178/Conscious-birdsConscious...
3•PaulHoule•32m ago•0 comments

Volunteers putting their bodies between Israel settlers and Palestinian villages

https://www.theguardian.com/world/2025/dec/20/the-volunteers-putting-their-bodies-between-israel-...
3•belter•33m ago•1 comments

The case against generic multi-cloud Terraform modules

https://www.rack2cloud.com/terraform-multi-cloud-anti-patterns-wrapper-tax/
1•NTCTech•33m ago•0 comments

For Lovers of Fractals, Game of Life and Similar Systems (Press 'Q' for More)

https://number-garden.netlify.app/?m
1•cpuXguy•35m ago•0 comments

Waymo suspends service amid widespread blackout-related disruption

https://sfstandard.com/2025/12/20/waymo-sf-blackout-robotaxi-traffic-jams/
2•bschne•35m ago•1 comments

Show HN: WalletWallet – create Apple passes from anything

https://walletwallet.alen.ro/
22•alentodorov•35m ago•5 comments