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

Ask HN: Did anyone learn basic arithmetic as "snapshots" instead of procedures?

1•ursAxZA•29s ago•0 comments

Building a Brainfuck DSL in Forth using code generation

https://venko.blog/articles/forth-brainfuck
1•thunderseethe•2m ago•0 comments

Electric Mining Dump Trucks

https://www.komatsu.com.au/equipment/dump-trucks/electric-mining-trucks
1•thelastgallon•9m ago•0 comments

We Lost Communication to Entertainment

https://ploum.net/2025-12-15-communication-entertainment.html
1•HotGarbage•10m ago•0 comments

BHP and Rio Tinto welcome Caterpillar battery-electric haul trucks to Pilbara

https://www.riotinto.com/en/news/releases/2025/bhp-and-rio-tinto-welcome-first-caterpillar-batter...
2•thelastgallon•11m ago•0 comments

Erdős Problem #1026

https://terrytao.wordpress.com/2025/12/08/the-story-of-erdos-problem-126/
4•tzury•18m ago•0 comments

I kept rewriting Markdown docs into Word files, so I automated it

https://yourdomain.bedpage.com/
2•Thomas-Wilson•24m ago•1 comments

Tesla board made $3B via stock awards that dwarfed tech peers

https://www.reuters.com/sustainability/boards-policy-regulation/tesla-board-made-3-billion-via-st...
3•1vuio0pswjnm7•24m ago•0 comments

How Did India Conquer Space?

https://altermag.com/articles/how-did-india-conquer-space
2•occamschainsaw•29m ago•0 comments

Oracle shares slide as earnings fail to ease AI bubble fears

https://www.bbc.com/news/articles/c9qe1e374l1o
1•1vuio0pswjnm7•34m ago•1 comments

Deep Agent Framework, the Pydantic AI Way

https://vstorm-co.github.io/pydantic-deepagents/
3•jonbaer•40m ago•1 comments

Experiments with Memory Integrity Enforcement

https://octet-stream.net/b/scb/2025-12-16-experiments-with-memory-integrity-enforcement.html
2•thombles•40m ago•0 comments

Google is bringing Android to PCs with AluminiumOS

https://www.pocket-lint.com/aluminium-os-android-pc/
3•type0•41m ago•1 comments

Scientists Have Discovered an Organism That Breaks Biology's Golden Rule

https://scitechdaily.com/scientists-have-discovered-an-organism-that-breaks-biologys-golden-rule/
2•thunderbong•44m ago•2 comments

Building Software from Blog Posts

https://build.ms/2025/12/15/building-software-from-blog-posts/
2•mergesort•44m ago•0 comments

Choosing a Web Framework for 2026

https://3d23d65ddc64ce5.substack.com/p/choosing-a-web-framework-for-2026
1•fud101•46m ago•0 comments

Oracle: Let It Fall, Let It Fall, Let It Fall

https://seekingalpha.com/article/4853440-oracle-let-it-fall-let-it-fall-let-it-fall
1•bprasanna•47m ago•0 comments

A sea of sparks: Seeing radioactivity

https://maurycyz.com/projects/spinthariscope/
1•maurycyz•48m ago•0 comments

AI and Smart Advertisements Are About to Empty Madison Avenue

https://www.wsj.com/opinion/ai-is-about-to-empty-madison-avenue-58ab2ea2
1•ryan_j_naughton•49m ago•1 comments

Companies Are Desperately Seeking 'Storytellers'

https://www.wsj.com/articles/companies-are-desperately-seeking-storytellers-7b79f54e
3•Papazsazsa•50m ago•1 comments

Simple Network Paging Protocol

https://en.wikipedia.org/wiki/Simple_Network_Paging_Protocol
2•rickcarlino•50m ago•0 comments

The Cliff of Infrastructure as Code

https://www.systeminit.com/blog/the-cliff-of-iac/
3•mooreds•56m ago•1 comments

The Making of a Dumpster Fire (2020)

https://signalvnoise.com/svn3/the-making-of-a-dumpster-fire/
1•jfil•58m ago•0 comments

Sharp

https://apple.github.io/ml-sharp/
6•dvrp•1h ago•1 comments

Sample Random Locations on Streets

https://github.com/geosensing/geo-sampling
1•neehao•1h ago•0 comments

Show HN: Extending RocksDB to Deduplicate Values

https://github.com/demajh/prestige
2•demajh•1h ago•0 comments

Making Deltron 3030 [video]

https://www.youtube.com/watch?v=pZVhRI8mYoY
1•bob1029•1h ago•0 comments

Ask HN: Any idea why Grok hasn't responded to any tweet for more than 3 hrs now?

3•chirau•1h ago•0 comments

Maximizing Compression of Apple II Hi-Res Images

http://deater.net/weave/vmwprod/hgr_compress/
1•deater•1h ago•0 comments

Show HN: Segue – Vocabulary app with flashcards, quizzes, and typing practice

https://segue.app
3•stoicfungi•1h ago•0 comments