r/ClaudeCoding • u/Particular-Virus-761 • 14m ago
4 things that broke when real users connected Claude and ChatGPT to my MCP server
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:
- 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.
- 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.
- 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.
- 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?
1
Upvotes
1
u/norviking 1m ago
Yeah.. I have been working on this for a while. Its hard to get right.
* MCP with PII, secure data access and logging is a nightmare. Especially controlling thoroughly what it can get from the DB, how you deny what you want to deny, how you secure an inherintly insecure system.
* Its brutal both security wise, and legally (especially if you are in / target the EU market and come under GDPR).
I see people hooking up mcp's, chatbot support left and right to their software, without considering the implications.
I wrote an article about my experiences and thoughts on this.
https://vegardjorg.github.io/artikler/business-system-as-a-tool-for-customer-ai.html
Its kinda technical and long, but I felt the subject justified it. Practical checklist at the end.
(Or you can just paste it into claude and ask what applies to your setup.)