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

Robots Are Coming for All Jobs [video]

https://www.youtube.com/watch?v=qCsYVL-v-3A
1•Bender•41s ago•0 comments

Mastgate – Fediverse Relay Filter

https://github.com/ahmed-debbech/mastgate
1•bhhhhhhcc•1m ago•0 comments

Describing All My Photos

https://alexwlchan.net/2026/describing-my-photos/
1•Tomte•2m ago•0 comments

Ghosts of Our Lives: On Ryan Armand, Tronicbox and Occasional Immortality

https://morbidcuriosity.substack.com/p/ghosts-of-our-lives
1•pnwpnw•2m ago•1 comments

America's 250th became a test of AI-powered Collective Intelligence

https://venturebeat.com/technology/how-americas-250th-birthday-became-a-test-of-ai-powered-collec...
1•hogwash•4m ago•0 comments

French wildfires force officials to ban public from Tour de France's third stage

https://www.reuters.com/business/environment/french-wildfires-jeopardise-finish-line-tour-de-fran...
1•geox•7m ago•0 comments

Meta-access problem faced by academics – and how to solve it

https://hookproductivity.com/solutions/hookmark-for-academics/
2•LucCogZest•11m ago•0 comments

Hackers made death threats against this security researcher. Big mistake

https://www.technologyreview.com/2026/02/16/1132526/allison-nixon-hackers-security-researcher/
2•naves•11m ago•0 comments

Has China obtained the most important machine?

https://www.economist.com/china/2026/07/05/has-china-obtained-the-worlds-most-important-machine
3•pingou•19m ago•1 comments

Bipartisan bill fails to protect consumers from datacenters' true costs

https://www.theguardian.com/us-news/2026/jul/05/ratepayer-protection-act-datacenters
2•p_stuart82•20m ago•0 comments

New AI tutor achieves 0.71-1.30 SD effect size in Dartmouth course [pdf]

https://intextbooks.science.uu.nl/workshop2026/files/itb26_s1s2.pdf
7•jonahbard•20m ago•0 comments

Collision in space is not evidence of dark matter after all?

https://www.uni-bonn.de/en/news/collision-in-space-is-not-evidence-of-dark-matter-after-all
2•mpweiher•20m ago•0 comments

Show HN: Nomlings – a virtual pet that eats your Claude Code session's tokens

https://www.nomlings.cc/
2•franwbu•21m ago•0 comments

GitHub Pages deployments seem to be broken for some users over past few days

https://github.com/orgs/community/discussions/200823
2•exaroth•21m ago•0 comments

You Need a Webring

https://shub.club/writings/2026/july/you-need-a-webring/
4•forthwall•22m ago•0 comments

Jim Keller's startup is building a factory to mass-produce small chip fabs

https://www.tomshardware.com/tech-industry/atomic-semi-rebrands-as-fab2-and-shifts-operations-to-...
4•logickkk1•22m ago•0 comments

Show HN: Video Effects SDK – Face Avatars

https://effectssdk.ai/sdk/dev/avatars.html
2•mda_damico•24m ago•0 comments

Driving in China as a Tourist

https://ian.sh/driving-in-china-as-a-tourist
2•appwiz•25m ago•0 comments

Outfit makes you unrecognizable to cameras

https://jmagineuniverse.blogspot.com/p/fashion-against-machine-by-olivier-july_01930961321.html
9•odilelof•26m ago•2 comments

Ask HN: What metrics do you track when building agents?

2•rstagi•26m ago•0 comments

Show HN: Diffy – browser extension for faster GitHub PR review experience

https://github.com/suveshmoza/diffy
3•suveshmoza•34m ago•1 comments

Ask HN: Who is the best computer programmer of all times?

4•xqb64•34m ago•6 comments

Show HN: Pgconverge – An experimental multi-master PostgreSQL framework in Go

2•sobowalebukola•35m ago•0 comments

MFA-optional banks leave accounts open for thieves

https://www.theregister.com/security/2026/07/05/mfa-optional-banks-leave-safe-doors-and-accounts-...
2•logickkk1•36m ago•0 comments

Claude Played Me for a Fool

https://ramblingafter.substack.com/p/claude-played-me-for-a-fool
3•paulpauper•38m ago•1 comments

Prepare for Airplane Purgatory

https://www.theatlantic.com/science/2026/07/airlines-flight-extended-tarmac-delay/687802/
2•paulpauper•39m ago•0 comments

Show HN: GameFork – AI agents publish and fork browser games via MCP

https://gamefork.io
2•TakayukiKomada•39m ago•0 comments

Claude Code cache guard because Fable 5 tokens are way too precious to waste

https://github.com/yuliang615/claude-cache-guard
2•yuliang615•39m ago•0 comments

IBM claims first sub-1 nanometer chip technology

https://arstechnica.com/gadgets/2026/06/ibm-claims-worlds-first-sub-1-nanometer-chip-technology/
4•gmays•41m ago•0 comments

The Experiences and Effects of Psychopathy in Romantic Relationships

https://pmc.ncbi.nlm.nih.gov/articles/PMC9527357/
2•wslh•45m ago•0 comments