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

Lex Speedman: We love you, Lex. but You talk too slow

https://lexspeedman.com/
1•mellosouls•3m ago•0 comments

Show HN: 2nd Release Canddiate for Back in Time 2.0.0

https://github.com/bit-team/backintime/releases/tag/v2.0.0-rc2
1•buhtz•14m ago•0 comments

How Delhi Built a World-Class Metro for a Bargain

https://www.nytimes.com/2026/09/02/headway/india-delhi-metro-public-transit.html
2•thunderbong•15m ago•0 comments

Show HN: A register of agent-payment code that pays once when the reply is lost

https://aurumflux.co/retry-safety/
1•aurumflux20•16m ago•0 comments

Gemini 3.8 Flash in Google Antigravity – Google Antigravity Blog

https://antigravity.google/blog/gemini-3-8-flash-in-google-antigravity
1•humphrey_liu•18m ago•0 comments

Claude Code skill: no emdashes

https://github.com/woutersf/claude-skill-no-emdashes
1•woutersf•21m ago•0 comments

Upload died on Mac air M5. Apple networking needs reboot

https://frederikwouters.be/blog/have-you-tried-turning-it-off-and-on-again
1•woutersf•21m ago•0 comments

CTTI is Exponential, RTTI is Linear

https://www.gingerbill.org/article/2026/09/02/ctti-is-exponential-rtti-is-linear/
1•thunderbong•22m ago•0 comments

Can AI Create PLC Attacks? Yes, but It's Not That Easy Yet

https://www.forescout.com/blog/can-ai-create-plc-attacks-yes-but-it%E2%80%99s-not-that-easy-yet/
1•Sentralis•24m ago•0 comments

The First Polynomial-Time Algorithm for the Győri-Lovász Theorem

https://arxiv.org/abs/2608.30945
1•pykello•26m ago•0 comments

RSA Factoring Challenge

https://en.wikipedia.org/wiki/RSA_Factoring_Challenge
2•nomilk•28m ago•0 comments

Which AI Fetchers Send Which Headers, Measured on a Live Site

https://gkoreli.com/which-ai-fetchers-send-which-headers
1•gogakoreli•28m ago•1 comments

An ongoing 3D-printer AGPL violation

https://lwn.net/Articles/1089390/
2•pykello•30m ago•0 comments

Creating Emacs Color Themes, Revisited

https://emacsredux.com/blog/2026/03/30/creating-emacs-color-themes/
2•signa11•31m ago•0 comments

Infrastructure quartermaster: inside a China-nexus state enablement model

https://www.lumen.com/blog/en-us/the-infrastructure-quartermaster-inside-a-china-nexus-state-enab...
1•Bluestein•34m ago•0 comments

Analysis: China's CO2 emissions fall in Q2 2026 due to plummeting oil use

https://www.carbonbrief.org/analysis-chinas-co2-emissions-fall-in-q2-2026-due-to-plummeting-oil-use
4•xbmcuser•35m ago•1 comments

Is This the Future of America?

https://www.theverge.com/cs/features/975597/loudoun-county-virginia-data-center-backlash
4•JSR_FDED•38m ago•1 comments

Ask HN: Advice on Migrating from 1Password?

5•0xbadcafebee•42m ago•3 comments

Musicians' brains stay one step ahead, study finds

https://www.ecu.edu.au/newsroom/articles/research/musicians-brains-stay-one-step-ahead-study-finds
2•XzetaU8•42m ago•0 comments

The multi-agent architecture of 2026 was designed in 1975

https://mozaik.jigjoy.ai/blog/the-interoperability-triangle
2•deepmem•43m ago•0 comments

Postgres 19 makes more of its internals observable

https://clickhouse.com/blog/postgres-19-new-system-views
1•saisrirampur•44m ago•0 comments

Cruz Enters the 2028 Conversation as Republican Succession Race Takes Shape

https://predx-article.fika.bar/cruz-enters-the-2028-conversation-as-republican-succession-r-01M1J...
1•joeymabia1•45m ago•1 comments

Uber to lay off 10% of staff in biggest cuts since Covid

https://www.reuters.com/business/world-at-work/uber-cut-3300-jobs-overhaul-bloomberg-news-reports...
2•artpar•47m ago•0 comments

Controlling CERN's Accelerators with Debian – MiniDebConf Winterthur 2026

https://ch2026.mini.debconf.org/talks/6-controlling-cerns-accelerators-with-debian/
1•rdmuser•52m ago•0 comments

What's going on with this platform? Why are links on Zenodo being flagged?

1•UJ-FLD-ScrTr•59m ago•0 comments

Misam Atshbar

1•omidggmh•59m ago•0 comments

Ex-Tension Alert

1•jackie_001•1h ago•0 comments

Years of Salt and Metal – The crash of Hop-a-Jet flight 823

https://admiralcloudberg.medium.com/years-of-salt-and-metal-the-crash-of-hop-a-jet-flight-823-665...
2•Lx1oG-AWb6h_ZG0•1h ago•0 comments

RSA-260 Factorized

https://twitter.com/penlume/status/2095372672356212876
4•samyok•1h ago•1 comments

My California Dream

https://twitter.com/garryslist/status/2094914114678034899
1•shinryudbz•1h ago•0 comments