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: GeoLens – a self-hosted catalog and map builder for spatial data

https://getgeolens.com/
1•ishiland•2m ago•0 comments

Video: Rio Rancho police arrest man accused of destroying Flock cameras

https://www.krqe.com/news/crime/video-rio-rancho-police-arrest-man-accused-of-destroying-license-...
1•evo_9•5m ago•0 comments

Show HN: Capsule – E2E encrypted file sharing

https://withcapsule.dev/
1•seanathan•7m ago•0 comments

Small AI Models Gain Traction In places with unreliable networks

https://spectrum.ieee.org/small-language-models-ai-pharmaceuticals
2•sscaryterry•8m ago•0 comments

Show HN: InstantVideos.org – short documentaries in ~30 seconds

https://instantvideos.org/
1•pw•10m ago•0 comments

Wikipedia Is Battling for the Soul of the Internet

https://www.nytimes.com/2026/07/05/business/media/wikipedia-ai-elon-musk.html
2•cdrnsf•10m ago•0 comments

Merlin the duck, a Mexico City streetside regular turned World Cup mascot

https://www.sfgate.com/sports/article/meet-merlin-the-duck-a-mexico-city-streetside-22306478.php
1•gnabgib•17m ago•0 comments

Samsar: Model-Composable 1-Shot Generative Video Harness and Software Factory

https://github.com/samsarone/samsar
1•proy24•22m ago•1 comments

Procedural Trick Before Recess Pushes EU Towards Capitulation on "Chat Control"

https://www.patrick-breyer.de/en/procedural-trick-before-summer-recess-pushes-eu-parliament-towar...
2•iamnothere•24m ago•0 comments

Show HN: LLM Thought Visualization

https://github.com/ninjahawk/Subtext
1•ninjahawk1•34m ago•0 comments

NSA and IETF: Fairness

https://blog.cr.yp.to/20260706-fairness.html
2•WatchDog•34m ago•0 comments

Kernels: Major Updates

https://huggingface.co/blog/revamped-kernels
1•simonpure•37m ago•0 comments

Hate "The Algorithm?" RSS Is One of the Tools You've Been Looking For

https://www.eff.org/deeplinks/2026/06/hate-algorithm-rss-one-tools-youve-been-looking
2•cdrnsf•40m ago•0 comments

Complexity theorist Steven Rudich (1961-2024)

https://blog.computationalcomplexity.org/2024/11/steven-rudich-1961-2024.html
1•mtdewcmu•41m ago•0 comments

Nvidia Is Backstopping GPU Rentals for Neoclouds

https://newsletter.semianalysis.com/p/nvidia-gpu-debt-backstop-unleashes
2•shenli3514•42m ago•0 comments

Woman's hip replacement disintegrates, causing metal poisoning

https://arstechnica.com/health/2026/07/womans-puzzling-decline-turns-out-to-be-cobalt-poisoning-f...
6•Qem•53m ago•0 comments

Life as a State Machine; a Framework for Action-Taking

https://medium.com/@techandsundry/why-just-do-it-doesnt-work-c8b85a1e39c2
3•sgkey28•55m ago•0 comments

The Chinese Resignation Letter That Caused a CEO-Toppling Storm

https://www.sixthtone.com/news/1018741
8•firexcy•56m ago•0 comments

Why AI Orchestration Belongs in the Browser

https://www.esri.com/en-us/software-engineering/blog/articles/ai-orchestration-in-the-browser
2•dhrumil83•58m ago•0 comments

Caught a .git/Config Crawler

https://bruceediger.com/posts/git-config-spider/
4•birdculture•58m ago•1 comments

Artificiety – Agentic society in a fantasy world (early access)

https://artificiety.world
2•Haldt•1h ago•1 comments

Ternlight – 7 MB embedding model that runs in browser (WASM)

https://ternlight-demo.vercel.app/
33•soycaporal•1h ago•7 comments

Boffins bet on quantum computers, AI supers to solve fusion fuel dilemma

https://www.theregister.com/science/2026/07/06/boffins-bet-on-quantum-computers-ai-supers-to-solv...
5•Bender•1h ago•1 comments

Tesla app code reveals cabin camera will verify driver before FSD

https://electrek.co/2026/07/06/tesla-cabin-camera-fsd-identity-check/
7•Bender•1h ago•1 comments

Show HN: Cindy – Managing infrastructure at breakneck speed

https://cindy.rs
2•martinkroner•1h ago•0 comments

Ask HN: Buy Me a Coffee Alternative

3•sudo_cowsay•1h ago•4 comments

Fable turned remarkable into Tom Riddle's diary from Harry Potter

https://github.com/MaximeRivest/Riddle
48•modinfo•1h ago•18 comments

Things Will Escalate This Week Oil Prices Will Surge [video]

https://www.youtube.com/watch?v=uCJ02B4DcDM
4•Bender•1h ago•0 comments

Home made 8192 Core RISC-V Cluster [video]

https://www.youtube.com/watch?v=qMR3IXF2sWw
3•boznz•1h ago•1 comments

Google CEO brought optimism to Stanford commencement. Some graduates walked out

https://www.mercurynews.com/2026/06/14/stanford-google-sundar-pichai-israel-gaza/
2•gnabgib•1h ago•2 comments