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

Ask HN: Lesser known features of macOS/iPadOS/iOS/etc. 27

1•lucasoshiro•10s ago•0 comments

Show HN: Extract original images from a PDF in the browser

https://imissfiles.com/extract-pdf-images/
1•theholygrail•43s ago•0 comments

The Dangerous Ideology Behind the AI Warnings

https://www.thefp.com/p/dangerous-ideology-effective-altruism-artificial-intelligence
1•bilsbie•1m ago•0 comments

Show HN: An open source safety layer for AI agent actions

https://github.com/CTRLRun/ctrlrun
1•arpanghoshal•2m ago•0 comments

We stopped writing agent tools after exposing our app as a filesystem

https://newsletter.cloudsquid.io/p/agents-need-their-own-ui
1•shatoboar•2m ago•0 comments

Recurse Center: Dynamic Documents as Personal Software [video]

https://www.youtube.com/watch?v=MccJdr61xnc
1•skadamat•2m ago•0 comments

Detecting Autonomous Adversaries by Their Re-Planning Loops

https://medium.com/meetcyber/script-vs-agent-detecting-autonomous-adversaries-by-their-re-plannin...
1•ls1911•3m ago•0 comments

Speeding up gearhash on ARM64 (2× faster)

https://sam.dev/blog/gearhash-on-arm64
1•pranitha_m•3m ago•0 comments

America's Driver's License Breach Is a National Security Disaster

https://www.lawfaremedia.org/article/america%27s-drivers-licence-breach-is-a-national-security-di...
3•hn_acker•7m ago•0 comments

GPS

https://ciechanow.ski/gps/
2•at1as•8m ago•1 comments

Show HN: Claude Meter – a macOS menu-bar meter for Claude's usage limits

https://github.com/sanchitkd/claude-meter
2•sanchitkd•8m ago•0 comments

Laundering Federal Election Interference in the Midterms

https://www.lawfaremedia.org/article/laundering-federal-election-interference-in-the-midterms
2•hn_acker•8m ago•0 comments

Programmatic comparison tool for 42 cloud providers across 9 categories

https://cloudcompare.dev/
2•atmeszaros•9m ago•0 comments

14,000 public domain videos visually searchable for free

https://www.youtube.com/watch?v=2dzqQItDmdg
2•Gecko4072•9m ago•1 comments

Show HN: Go Bindings for SCIP Optimizer

https://github.com/egoisutolabs/scipgo
2•generalist_dev•9m ago•0 comments

How to Run Super Mario Bros on Xiaomi Mi Band 4

https://blog.qwertyforce.dev/posts/miband4_nes
2•qwertyforce•10m ago•1 comments

V1.1 state of open source- OS 4.4 months behind frontier [pdf]

https://stateofopensource.ai/state-of-open-source-ai-v1-1.pdf
4•airplanesandOS•12m ago•1 comments

Don't Trust. Verify. Offline, sub-millisecond agent verification with ANS

https://www.godaddy.com/resources/news/dont-trust-verify-offline-sub-millisecond-agent-verificati...
2•kperry•14m ago•0 comments

The Convenient Fear of AI

https://medium.com/@claudi.martinez/the-convenient-fear-of-ai-9f38cfa5898b
2•curial•14m ago•0 comments

You can run Git on object storage if you re-make packfiles

https://www.tigrisdata.com/blog/objgit-packfiles/
3•techknowlogick•15m ago•0 comments

Code Snacks

https://laurenbasser.site/code-snack
2•ibobev•15m ago•0 comments

Superphenix – An open source IaaS/PaaS/SaaS platform based on Kubernetes

https://github.com/super-phenix/superphenix
2•rdg42•16m ago•0 comments

Show HN: Voice AI that runs on CPUs

https://lokutor.com/
2•lokutor•16m ago•0 comments

Tell HN: Stop Saying "Gates"

5•fouc•16m ago•3 comments

Deshittification as a Service: Reclaiming Privacy and Performance

https://fabricati-diem.inform.social/post/deshittification-as-a-service/
2•utiiiD•20m ago•0 comments

For the Love of God, Please Put on Headphones

https://www.wsj.com/tech/personal-tech/speakerphone-in-public-spaces-08a6a16d
3•fortran77•22m ago•1 comments

Irish bank strikes (1966–1976)

https://en.wikipedia.org/wiki/Irish_bank_strikes_(1966%E2%80%931976)
2•Tomte•23m ago•0 comments

Cockroach Continuum – Elastic Infrastructure for Agentic Database Estates

https://www.cockroachlabs.com/blog/continuum-architecture/
4•robreid_io•23m ago•0 comments

Show HN: Eulix - Code navigation for large codebases

2•Nurysso•24m ago•0 comments

Future of Motion Video creation is prompting

https://github.com/veedstudio/open-edit
2•hackerabi•25m ago•1 comments