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

Comments

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

PostgreSQL Credential Rotation in Production: A Zero-Downtime Runbook

https://www.elydb.com/blog/postgresql-credential-rotation-production
1•thunderbong•58s ago•0 comments

Ask HN: What's your experience with PoW captchas against form spam?

1•pentacent_hq•1m ago•0 comments

A full-featured terminal user interface for hledger plain-text accounting

https://github.com/thesmokinator/hledger-textual
1•willm•3m ago•0 comments

Ask HN: What are all the bad things that AI companies have done which we forgot

1•Imustaskforhelp•4m ago•0 comments

Ask HN: Is Zero Trust Architecture Overkill?

1•devinabox•8m ago•0 comments

Show HN: Formal – Formal verification for AI-generated code using Lean 4

https://github.com/yamafaktory/formal
1•yamafaktory•9m ago•0 comments

Show HN: What's SBTI

https://whatssbti.com/
1•aitooltrek-com•10m ago•0 comments

Show HN: Terminal Style Web Component

https://github.com/spider-hand/terminal-element
1•spider-hand•10m ago•0 comments

Show HN: ApplePy – Embed and Call Swift from Python (Like PyO3, but for Swift)

https://github.com/jagtesh/ApplePy
1•sheepscreek•12m ago•1 comments

Show HN: PrepLists – a directory of 500 prep centers and 3PLs for sellers

https://preplists.com
1•devequijo•12m ago•0 comments

Feature Vomit

https://public.grugnotes.com/keizo/blog/feature-vomit/
1•keizo•12m ago•0 comments

Show HN: Telegram feed reader using DNS TXT records for Iran's Internet shutdown

https://github.com/sartoopjj/thefeed
2•znano•14m ago•0 comments

Trump says US will blockade Strait of Hormuz

https://www.cnn.com/2026/04/12/world/live-news/iran-us-war-talks-trump
2•Tomte•15m ago•1 comments

White Rabbit meets quantum entanglement

https://home.cern/news/news/computing/white-rabbit-meets-quantum-entanglement
1•bookofjoe•16m ago•0 comments

Ask HN: What is the best way to get your first users?

1•Mohd_Umar•17m ago•4 comments

158-year-old home distilling ban ruled unconstitutional

https://www.reuters.com/legal/government/us-appeals-court-declares-158-year-old-home-distilling-b...
2•PessimalDecimal•19m ago•1 comments

Dario Says Continual Learning Is Solved. Is It?

https://twitter.com/tianle_cai/status/2042459055483207818
1•gmays•19m ago•0 comments

Show HN: Kafkaesque – a wire-compatible mock Kafka

https://github.com/dcminter/kafkaesque
1•dcminter•22m ago•1 comments

HappyHorse AI Video Generator

https://openhappyhorse.io/
1•cathy246•26m ago•1 comments

LRTS – Regression testing for LLM prompts (open source, local-first)

https://github.com/rufus-SD/lrts
1•arthur-G•33m ago•0 comments

Metallic θ-phase tantalum nitride has thermal conductivity triple that of copper

https://www.science.org/doi/10.1126/science.aeb1142
2•bookofjoe•33m ago•1 comments

Seven countries now generate 100% of their electricity from renewable energy

https://www.the-independent.com/tech/renewable-energy-solar-nepal-bhutan-iceland-b2533699.html
19•mpweiher•34m ago•1 comments

Tell HN: OpenAI silently removed Study Mode from ChatGPT

18•smokel•35m ago•5 comments

Malvertising and the trend of curl – sh install on macOS

https://pgaleone.eu/security/2026/04/12/paying-google-to-hack-macos-users/
1•me2too•35m ago•0 comments

Simple Git Server

https://sigit.si/
1•kampak212•36m ago•1 comments

Ask HN: How to build an "AI native" company?

1•canxerian•36m ago•2 comments

My adventure in designing API keys

https://vjay15.github.io/blog/apikeys/
1•vjay15•38m ago•1 comments

Apple Is Launching an 'Ultra' Line of Products with New Capabilitie

https://www.entrepreneur.com/business-news/apple-is-launching-an-ultra-line
1•f1shy•39m ago•0 comments

Pro Max 5x Quota Exhausted in 1.5 Hours Despite Moderate Usage

https://github.com/anthropics/claude-code/issues/45756
124•cmaster11•40m ago•52 comments

The physics behind Flow Matching models [video]

https://www.youtube.com/watch?v=3mFNpeJQjmw
2•kburman•44m ago•1 comments