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

Mirror life is dangerous. Regulators must act before it becomes real

https://www.economist.com/leaders/2026/10/01/mirror-life-is-dangerous-regulators-must-act-before-...
1•trakkstar•3m ago•0 comments

Stanford Physicist working with Astra 6 has algebraically Quantized Gravity

https://www.reddit.com/r/singularity/comments/1y5u17u/standford_physicist_venkatesa_chandraeskaran/
1•chadcmulligan•4m ago•0 comments

The MacBook Pro's OLED PWM problem: when a 'better' display becomes worse to use

https://www.reddit.com/r/macbookpro/comments/1xwrfh5/the_macbook_pros_oled_pwm_problem_when_a_bet...
1•behnamoh•5m ago•0 comments

EVST – A higher-level, event-driven API for NgRx Store and Redux Toolkit

https://github.com/fredyang/evst
1•freddy18•11m ago•0 comments

KeePassium: KeePass-compatible password manager for iOS and macOS

https://github.com/keepassium/KeePassium
1•saikatsg•13m ago•0 comments

Fortescue's 6MW Robotic EV Charger and Electric Haul Trucks [video]

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

Ask HN: Getting around NPM typo squatting?

1•sarreph•15m ago•0 comments

Undoing each fix in a Linux ext4 pull to see which tests notice

https://plimsollmark.github.io/plimsoll/case-studies/ext4-witness/index.html
1•cagster•15m ago•0 comments

Your glasses got worse on purpose

https://www.worseonpurpose.com/p/your-glasses-got-worse-on-purpose
1•Pamar•16m ago•0 comments

The Vault Is Still Fine

https://blog.ppb1701.com/the-vault-is-still-fine
1•lylo•16m ago•0 comments

Microsoft declared "code red", fews days after their outage

https://finance.yahoo.com/markets/article/microsoft-declares-a-code-red-in-the-middle-of-a-patchp...
2•ComputedCamp995•18m ago•0 comments

Iranian authorities flog woman for performing without hijab

https://www.nbcnews.com/world/iran/iran-carries-flogging-singer-performed-hijab-rcna611047
1•illidan1000•19m ago•0 comments

AI Keeps Asking If It's Conscious [video]

https://www.youtube.com/watch?v=ghxoAM5io18
1•DarenWatson•20m ago•1 comments

Proposed unificafion of quantum gravity and General relativity

https://www.reddit.com/r/singularity/comments/1y5u48p/openai_and_gpt6_astra_just_tackled_physics_...
7•lawandjustice•24m ago•1 comments

Nvidia halts chip shipments to south-East Asia

https://www.ft.com/content/7838a715-07d4-4605-aa60-21f5af2b2370
6•chirau•26m ago•2 comments

MCP v2: Moving from Tool Calling to Async Tasks, Elicitation, and File Handoffs

https://vigneshx.com/blog/what-is-mcp/
2•vickyonit•28m ago•0 comments

Sierpinski Gaskets on Pascal's Triangle mod n

https://presheaf.blogspot.com/2026/11/sierpinski-gaskets-on-pascals-triangle.html
1•austinallegro•30m ago•0 comments

To Be or Not to Be a Philosopher?

https://blog.apaonline.org/2026/11/25/to-be-or-not-to-be-a-philosopher/
2•Tomte•30m ago•0 comments

Notable Books of 2026

https://www.nytimes.com/2026/11/23/books/review/notable-books.html
1•saikatsg•31m ago•0 comments

Opus Next (5.6/6) launch video of a fake model for SVG pelicans on bicycles

https://twitter.com/shneural/status/2125658847323017291
1•kaiwen1•32m ago•0 comments

MindWake

https://open.spotify.com/episode/59cuWT7ueppoi6OG6vajID
1•SarahOsterber•33m ago•0 comments

Notetaking Is Life Changing

https://punkto.org/blog/write_it_down
4•Tomte•35m ago•0 comments

Audi integrates new app with AI assistant with Cerence AI and Microsoft

https://www.audi.com/en/media-releases/audi-integrates-new-app-with-ai-assistant-for-mobile-work-...
1•taubek•35m ago•0 comments

Guitar wars – the transatlantic battle over the Stratocaster

https://www.bbc.com/news/articles/cqd01l9x8k48o
1•saikatsg•36m ago•0 comments

Moat: Your OpenRouter Replacement

https://commandcode.ai/moat
2•amanverasia•36m ago•0 comments

Project Coordinator

1•dhruvxbyte•37m ago•0 comments

The Shameful Defenestration of Tim

https://chrismcdonough.substack.com/p/the-shameful-defenestration-of-tim
2•dash2•37m ago•1 comments

BonBon is the first browser for the Markdown web

https://github.com/scripting/bonBon/blob/main/readme.md
1•dotcoma•40m ago•0 comments

How to effectively debug when you no longer understand the code

https://copyconstruct.medium.com/how-to-effectively-debug-when-you-no-longer-understand-the-code-...
5•Garbage•45m ago•1 comments

The Last Boring Slide

https://claude.ai/artifact/Cy2d8Vn63CnzCtonA1LSah
1•num42•46m ago•1 comments