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

Show HN: Create a realistic couple photo from two separate portraits

https://ai-couplephoto.com
1•hackerchy•5m ago•0 comments

Cloudfleet – A Freemium Kubernetes Control Plane

https://cloudfleet.ai
2•nikolay•6m ago•0 comments

Liquid: Back to the Future

https://twitter.com/benjaminsehl/status/2079633466581258469
2•doppp•8m ago•0 comments

Best way to practice LeetCode questions

https://github.com/Qurse123/Ankicode
2•Qurse22•9m ago•0 comments

Kimi K3 first open model in ErrataBench Top 10

https://revise.io/blog/07-22-2026/kimi-k3-broke-90-on-erratabench
1•artursapek•10m ago•0 comments

6,600 Non-Citizens Mistakenly Added to NJ Voter Rolls

https://www.cnn.com/2026/07/21/politics/new-jersey-voter-rolls-non-citizen
1•giardini•10m ago•0 comments

Trump says generic drugs to face US tariffs 100% and 200% two year later

https://www.reuters.com/business/healthcare-pharmaceuticals/trump-says-generic-drugs-face-no-us-t...
1•rguiscard•11m ago•0 comments

The Hunt for the Counterfeiter Trying to Make the Perfect Bill

https://www.nytimes.com/2026/07/16/magazine/counterfeit-dollars.html
1•js2•12m ago•1 comments

Show HN: Empix – A super-simple graphic editor for Arduino

https://github.com/niklauslee/empix
1•niklauslee•12m ago•0 comments

Explore Automated License Plate Readers - Locations Near You

https://maps.deflock.org/
2•pseudolus•15m ago•0 comments

TokenSwitch

https://www.tokenswitch.co/
2•handfuloflight•18m ago•0 comments

Error Led to 400 Noncitizens Voting, New Jersey Governor Says

https://www.nytimes.com/2026/07/21/nyregion/noncitizen-voting-new-jersey-error.html
1•pudgywalsh•20m ago•1 comments

Keynesian Beauty Contest

https://en.wikipedia.org/wiki/Keynesian_beauty_contest
1•salamo•20m ago•0 comments

The Hair-Dryer Incident Is Just the Start

https://www.theatlantic.com/technology/2026/07/prediction-market-outsider-trading/687975/
3•nabbed•22m ago•1 comments

Plat: An embeddable infinite canvas for humans and agents

https://github.com/zackham/plat
2•zackham•24m ago•0 comments

How to Run a Multi-Agent Coding Workspace (2026)

https://www.augmentcode.com/guides/how-to-run-a-multi-agent-coding-workspace
2•mahirsaid•25m ago•0 comments

Snowflake's string min/max is truncated to ~40 chars, and it's undocumented

https://gist.github.com/wubx/c7a7d754ec5ec7d84b3aa7945bafec3f
2•river_wu•25m ago•0 comments

China's EV Revolution [video] – Foreign Correspondent

https://www.abc.net.au/news/2026-07-21/china-s-ev-revolution/106940630
2•langfo•26m ago•1 comments

If HF was breached, should we expect OpenAI to face criminal charges?

5•arm32•27m ago•0 comments

Ten Steps Towards Happiness

http://hintjens.com/blog:99
4•emerongi•27m ago•1 comments

Transformation Theater

https://tusshah.codeberg.page/posts-output/2026-07-16-currentstate/
2•mmts•27m ago•0 comments

Fundamental Theorem of Software Engineering

https://en.wikipedia.org/wiki/Fundamental_theorem_of_software_engineering
2•vismit2000•28m ago•0 comments

Trump Now Wants E. Jean Carroll to Return the $5.6M He Paid

https://people.com/trump-now-wants-e-jean-carroll-to-return-the-usd5-6m-he-paid-for-sexual-abuse-...
4•ninjahawk1•29m ago•0 comments

SynnoDB – Synthesizing Database engines for your workloads

https://github.com/SynnoDB/SynnoDB
2•zX41ZdbW•30m ago•0 comments

A Fireside Chat with Cat and Thariq from the Claude Code Team

https://simonwillison.net/2026/Jul/21/cat-and-thariq/
2•vismit2000•31m ago•0 comments

Light Comes into the Room

https://lightcomesintotheroom.com/
2•bpierre•34m ago•0 comments

What the World Should Learn from Australia's Social Media Law

https://time.com/article/2026/07/18/the-world-should-learn-from-australia-s-social-media-law/
2•dotcoma•34m ago•2 comments

SEAM-V: A Hybrid-Decoupled RISC-V Vector Processor

https://arxiv.org/abs/2607.17899
2•Jimmc414•40m ago•0 comments

An Explosion of Surveillance Towers Is Coming to US Borders, Costing $1B+

https://www.eff.org/deeplinks/2026/07/explosion-surveillance-towers-coming-us-borders-costing-ove...
5•Jimmc414•41m ago•0 comments

Hardware Mechanisms to Dynamically Throttle AI Performance

https://arxiv.org/abs/2607.18069
2•Jimmc414•43m ago•0 comments