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•12mo ago

Comments

NinjaGems•12mo 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

Try Contra Dancing

https://www.benkuhn.net/contra/
1•jefftk•39s ago•0 comments

Consequences of passing too few register parameters to a C function

https://devblogs.microsoft.com/oldnewthing/20260427-00/?p=112271
1•aragonite•2m ago•0 comments

China's push to commercialize research: match 680k innovators with companies

https://www.nature.com/articles/d41586-026-01202-7
1•manvel_hn•6m ago•0 comments

Show HN: See you speaker's output on a piano

https://github.com/ecstrema/overchords
1•ecstrema•6m ago•0 comments

Show HN: PrePrompt – rewrites vague prompts before they reach the LLM

https://preprompt.org/
1•yashdeeptehlan•8m ago•1 comments

Show HN: Waiting for LLMs Suck – Give your user a game

https://github.com/ftaip/waiting-game
1•dalemhurley•12m ago•0 comments

Watching TV with the Second-Party

https://arxiv.org/abs/2409.06203
1•philipnee•13m ago•2 comments

Open Weights Kill the Moat

https://www.warman.life/blog/2026-04-27-the-moat-or-the-commons/
3•shaunistyping•14m ago•0 comments

The hard part of million-stop routing was not the route optimizer

https://github.com/vizzito/last-mile-optimizer-paper
1•pantherolive•20m ago•3 comments

The New York Times Makes the Case for "Microlooting" to Murder

https://jonathanturley.org/2026/04/27/the-monsters-among-us-the-new-york-times-makes-that-case-fo...
1•ytNumbers•20m ago•2 comments

Tiny Looking to Sell Letterboxd

https://www.semafor.com/article/04/26/2026/whats-next-for-letterboxd
1•bjhess•20m ago•0 comments

The AI-X Scale for Written Content

https://docs.zeropolis.net/doku.php/tech:ai-text-categorization
1•unethical_ban•21m ago•0 comments

Tell HN: Claude flags ordinary biology / biotech questions

1•areoform•26m ago•0 comments

Product Evals in Three Simple Steps

https://eugeneyan.com/writing/product-evals/
1•eigenBasis•27m ago•0 comments

You were training AI while catching Pokemon [video]

https://www.youtube.com/watch?v=Vk95ZO-WAvY
1•omani•28m ago•0 comments

Apple integrates Claude and Codex into Xcode 26.3 for 'agentic coding'

https://venturebeat.com/technology/apple-integrates-anthropics-claude-and-openais-codex-into-xcod...
1•gurjeet•30m ago•0 comments

MySpace Co-Founder Misses "Serendipity" of Social Media as Documentary Premieres

https://deadline.com/2026/04/myspace-chris-dewolfe-serendipity-social-media-documentary-1236873630/
1•ChrisArchitect•30m ago•0 comments

Show HN: New readme badge builder (need feedback)

https://www.shieldcn.dev/showcase
1•justinlevine•32m ago•0 comments

We Audited 43 Product Hunt Launches for Accessibility. 1 Passed

https://overlayqa.com/blog/product-hunt-accessibility-study/
1•emveras•35m ago•0 comments

Ask HN: Novel crazy ideas on reducing RAM usage

3•sudo_cowsay•39m ago•5 comments

Show HN: Enve – Tiny server that stores per-project environment variables

https://github.com/skorotkiewicz/envd
1•modinfo•41m ago•0 comments

Show HN: rqlite – the fault-tolerant DB built on SQLite – v10.0 released

https://github.com/rqlite/rqlite/releases/tag/v10.0.0
1•otoolep•44m ago•0 comments

Who Owns Tindie?

https://hackaday.social/@tindie/116459166849350034
1•codezero•45m ago•0 comments

The remarkable Renaissance of high-frequency traders

https://www.ft.com/content/83b2a4b3-bdc6-4eb0-a87c-293c383b5994
2•simonpure•50m ago•1 comments

Colorful Nuclide Chart

https://people.physics.anu.edu.au/~ecs103/chart/
1•Eridanus2•53m ago•0 comments

An AI First World (2016)

https://avc.com/2016/04/an-ai-first-world/
2•capitalatrisk•58m ago•0 comments

Time, Money and Health

https://todaypurpose.com/posts/time-money-health/
1•eric_khun•1h ago•0 comments

How AI Will Reshape Computer Systems by 2035

https://cra.org/industry/2026/04/27/how-ai-will-reshape-computer-systems-by-2035-a-jeffersonian-d...
2•hasheddan•1h ago•0 comments

The physics slop that YouTube wants me to make [video]

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

Show HN: Lightport – open-source AI gateway

https://www.npmjs.com/package/lightport
1•statements•1h ago•0 comments