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

I'm a Philosophy Professor. Here's Why I'm Training AI to Replace Me

https://www.chronicle.com/article/im-a-philosophy-professor-heres-why-im-training-ai-to-replace-me
1•KnuthIsGod•2m ago•0 comments

The world of Japanese train melodies [video]

https://www.youtube.com/watch?v=-KxQIEhsFQk
1•vinhnx•3m ago•0 comments

The Vientiane Mystery: When a Taxi Apps Randomly Stops Working

https://gist.github.com/Usernameisalreadytaken5/a0bc0e204008b9ed1b404437db5f59cd
1•jondoe•4m ago•0 comments

Show HN: Bgbgone – local Mac background remover CLI – MIT

https://github.com/Arthur-Ficial/bgbgone
1•franze•5m ago•0 comments

C++: The Programming Language Cover Raises Unanswered Questions

https://devblogs.microsoft.com/oldnewthing/20260401-00/?p=112180
1•birdculture•5m ago•0 comments

The "Cat-Cam": Using Go and an Old Nokia Android to Catch a Midnight Intruder

https://medium.com/@premkumarbhaskal/the-cat-cam-using-go-and-an-old-nokia-android-to-catch-a-mid...
2•Pbhaskal•5m ago•1 comments

Using the Screen Capture API to record a browser window

https://alexwlchan.net/2026/record-browser-video/
1•Tomte•9m ago•0 comments

Ask HN: What are some agent-coded masterpieces?

1•xyzal•9m ago•0 comments

A Little Explanation of Little's Law

https://rugu.dev/en/blog/littles-law/
1•signa11•10m ago•0 comments

The US Needs Mechanics and Electricians.Big Business Is Spending to Create Some

https://www.wsj.com/business/autos/the-u-s-needs-mechanics-and-electricians-big-business-is-spend...
1•KnuthIsGod•10m ago•0 comments

The Grad Student Who Broke Microplastics Research

https://drstanfield.com/en-eu/blogs/articles/the-grad-student-who-broke-microplastics-research
2•mpweiher•26m ago•0 comments

Memory Caching: RNNs with Growing Memory

https://arxiv.org/abs/2602.24281
1•dmichulke•28m ago•0 comments

Writing your own print function in C without Libc

https://linux-is-best.pckt.blog/writing-your-own-print-function-16xt8wv
1•ghodawalaaman•34m ago•0 comments

Spotify no OAuth,no premium web API fetching

1•nntlol•34m ago•0 comments

Nike can't just do it any more

https://economist.com/1843/2026/06/05/nike-cant-just-do-it-any-more
1•andsoitis•37m ago•0 comments

Project the aircraft passing overhead onto your ceiling, in real time

https://github.com/cpaczek/skylight
2•phantomathkg•41m ago•1 comments

Show HN: Kyushu – A self-hostable WASM sandbox for JavaScript workers

https://kyushu.dev/
1•le_chuck•46m ago•0 comments

Show HN: WinkTerm – AI that shares the same PTY as you in the terminal

https://github.com/Cznorth/winkterm
1•Cznorth•49m ago•0 comments

Help Nearby – humanitarian map with UN data integration

https://help-nearby.org
1•Hyrezyxx•56m ago•0 comments

Retrospective

https://neverworkintheory.org/2024/03/21/retrospective.html
1•jruohonen•56m ago•0 comments

Dimitri Bertsekas

https://en.wikipedia.org/wiki/Dimitri_Bertsekas
1•tosh•59m ago•0 comments

Are we approaching a new AI winter?

https://adlrocha.substack.com/p/adlrocha-are-we-approaching-a-new
2•adlrocha•59m ago•0 comments

Show HN: About Lightweight, S3-compatible object storage

https://kodiqa-solutions.github.io/VaultS3/
1•open_source_new•1h ago•0 comments

Thoughts on starting new projects with LLM agents

https://eli.thegreenplace.net/2026/thoughts-on-starting-new-projects-with-llm-agents/
2•wrxd•1h ago•0 comments

Show HN: AI pre-screening CIS counterparties before onboarding

https://agenstry.com/agents/cis-secondary-sanctions-a2a.vassiliy-lakhonin.workers.dev
1•vassilbek•1h ago•0 comments

How LLMs Work: A Friendly Map for Humans

https://oreoro.github.io/posts/how-llms-actually-work-friendly-guide/
1•alexander2002•1h ago•0 comments

Police Tussle with Diabetes Experts at Ada Meeting

https://www.medpagetoday.com/special-reports/exclusives/121619
1•pigeons•1h ago•0 comments

What Happened in Tanzania on October 29?

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

How much do amd64 microarchitecture levels help in Go?

https://twitter.com/lemire/status/2063358266885685710
2•tosh•1h ago•1 comments

Into the Personal-Website-Verse (2019)

https://matthiasott.com/articles/into-the-personal-website-verse
2•downbad_•1h ago•0 comments