r/MCPservers • • 11h ago

GitHub - JustBipin/media-preview: Inline media preview MCP App for video, audio and image previews in AI chats

Thumbnail
github.com
2 Upvotes

Hey guys, I recently switched from claude desktop to antigravity and I got tired of my agent spitting out dead file pills for every `.mp4` and `.wav`. Base64-inlining them into artifacts was worse, because it ate 50k to 1.5M+ tokens.

So I made a small MCP App that streams local files from localhost into the chat. The most amazing thing? Only a one-line receipt (\~28 tokens) hits the context compared to hundreds or thousands when presented with base64 encoding.

It plays video (9:16 and 16:9), shows audio waveforms, and lays out image galleries. It's pure Node with zero deps.

I made it for Antigravity, but it should work in other MCP Apps hosts too. The repo is here if anyone wants to poke at it: https://github.com/JustBipin/media-preview

Curious if anyone else has hit this problem, or how you're handling media in agent chats.


r/MCPservers • • 18h ago

4 things that broke when real users connected Claude and ChatGPT to my MCP server

2 Upvotes

I run a remote MCP server that lets people publish to their social accounts from Claude and ChatGPT. Building it was easy. What surprised me came after real users showed up:

  1. ChatGPT corrupted long tokens. My upload links carried a long signed token, and ChatGPT sometimes changed a character when copying it back. I switched to a short 43-character token and the errors stopped.
  2. Claude ignored advice in tool responses. I added tips like "ask the user for a video first" inside tool results. Claude treated them as a possible injected instruction and skipped them. Now tool results only return data (like what each account requires), and the general guidance lives in the server instructions.
  3. ChatGPT uses one OAuth client for all its users. My cleanup job deleted unused dynamically registered clients, which would have broken everyone at once. Supporting client ID metadata documents fixed it.
  4. Never accept an API key in the URL. Some clients put it there, and URLs end up in logs. I now refuse it and only accept it in a header.

Anyone else running a remote MCP server in production? What broke for you?


r/MCPservers • • 19h ago

Any MCP recommendations for AI agents?

2 Upvotes

Hey everyone, I'm using Hermes Agent with Claude as the brain. I have accounts on LinkedIn, X, Threads and YouTube, and sometimes I want to share my software projects there as written posts. I'm even willing to write a custom MCP for this, but I've been struggling with it for a week now.

On Instagram I was posting Reels and got banned for posting through Hermes. I got the account back afterwards, but for YouTube I ended up handing over my own cookies, because I couldn't find any MCP that can publish community posts. Right now LinkedIn is the only connection I've managed to get working reliably.
I built my own tool for scheduling posts across all these accounts: I add posts to a calendar, and from there I want to hook up Hermes to auto-publish them. But a whole week has gone down the drain and I'm seriously frustrated. Isn't there one fully optimized solution that handles all of this? Especially the YouTube community posts part. I also don't want to reconnect every month. I want to connect once and have the connection stay solid forever.


r/MCPservers • • 7h ago

I built an MCP interface that lets AI agents observe facial expressions through a Raspberry Pi — without sending every camera frame to the LLM

1 Upvotes

I've been working on an open-source Raspberry Pi robot, and one of the more interesting parts has been figuring out how to give external AI agents access to physical vision through MCP.

I wanted an agent to be able to check whether someone is in front of the camera and what facial expression is currently observable, without sending every camera frame to a remote LLM.

Here's how I approached it:

  • Local vision: Raspberry Pi handles face detection and expression inference using OpenCV and a local ONNX model.
  • Semantic MCP tools: phos_get_presence and phos_get_observed_expression expose observations without requiring the agent to process raw camera frames.
  • Optional image access: If an agent really needs the image, it can request a JPEG snapshot through a separately permission-controlled MCP capability.
  • One camera pipeline: MCP reuses the robot's existing vision pipeline rather than opening another camera instance.

The idea is to keep continuous perception local and let external LLM agents focus on higher-level reasoning.

A few important limitations: facial expression classification is uncertain and doesn't tell us how a person actually feels. This is face detection, not identity recognition. The local model still needs careful calibration and real-world accuracy evaluation.

I implemented this in PHOS, my open-source Raspberry Pi robot project.

GitHub: https://github.com/phosairobot/phos

I'm particularly interested in how others are handling camera access and visual perception in MCP servers.

Are you exposing raw images to agents, or processing them locally and exposing semantic observations instead?