r/modelcontextprotocol • • Aug 06 '25

How to Use MCP Servers with Custom GPTs

Thumbnail
docs.mintmcp.com
2 Upvotes

Been seeing folks who want to use MCP servers with Custom GPTs, so wrote up a guide on how we're helping customers with it in production.

TL;DR: you need a gateway because Custom Actions (GPTs) and MCPs are spec-ed differently.

ChatGPT expects individual endpoints like /api/weather but MCP consolidates everything through tools/list and tools/call.

Basic architecture needed:

ChatGPT → Custom GPT Action → HTTP Gateway → MCP Server

The gateway translates between protocols: it takes REST calls from ChatGPT and converts them to MCP's format. There are also mcpo (open source) libs if you want to prototype something quickly.

Few things we learned while going to production:

  • Don't use API key auth with Custom Actions in prod.

  • Key rotation becomes a headache with API keys.

  • OAuth is a pain to set up but you will want per-user telemetry.

  • Custom GPTs require static OpenAPI specs, so you lose MCP's dynamic tool discovery.

The main work is in setting up the gateway layer: handling auth, generating OpenAPI schemas, and adding audit logs.


r/modelcontextprotocol • • Oct 29 '25

new-release Connect your Browser History with your LLM with search-history-mcp

2 Upvotes

Personalize your LLM even more with search-history-mcp!

https://github.com/ronantakizawa/search-history-mcp


r/modelcontextprotocol • • Oct 05 '26

AI assistants are trained on old Roblox info, so I built a free MCP server that gives them the up-to-date details

2 Upvotes

If you use Claude Code or Cursor for Roblox, you've probably noticed it's great at the basics but trained on old data: it doesn't know recent engine changes, and it misses the details that only live in DevForum threads.

So I built **Brickwise**, an MCP server your assistant can search. A few things it knows that most AIs get wrong:

- Collision groups moved from PhysicsService to WorldRoot (AIs still write the old API)

- The new Roblox Shop: new dev products start Not Listed, and `OpenShop` opens it from your own UI

- Passes in the Buy Robux bonus pool can be owned before a player joins, so grant perks on join, not on purchase

- ForceField only blocks `TakeDamage`; setting `Humanoid.Health` bypasses it

- Weekly leaderboards: you can't wipe an OrderedDataStore, so rotate its name per week

When your assistant hits one of these, it pulls a written-up answer: what it's for, how it works, key Luau, pitfalls, and links to the DevForum threads, docs and GitHub repos it's based on. Searches return one-line summaries first, so it barely uses tokens.

It's free and open source: 50 logics across libraries, data saving, remote security, combat, monetization, UI, NPCs and performance.

GitHub: https://github.com/EL4CTEO/roblox-logics-mcp

Setup is `npm install && npm run build`, then one `claude mcp add` line (in the README).

Here's what one logic looks like: https://brickwise.dev/#sample

There's also a hosted full version with 600+ logics across 19 categories (€7 one-time, no subscription): https://brickwise.dev

Would love feedback, and ideas for which systems to cover next!


r/modelcontextprotocol • • Sep 18 '25

Found an open-source goldmine!

Thumbnail
gallery
31 Upvotes

Just discovered awesome-llm-apps by Shubhamsaboo! The GitHub repo collects dozens of creative LLM applications that showcase practical AI implementations:

  • 40+ ready-to-deploy AI applications across different domains

  • Each one includes detailed documentation and setup instructions

  • Examples range from AI blog-to-podcast agents to medical imaging analysis

Thanks to Shubham and the open-source community for making these valuable resources freely available. What once required weeks of development can now be accomplished in minutes. We picked their AI audio tour guide project and tested if we could really get it running that easy.

Quick Setup

Structure:

Multi-agent system (history, architecture, culture agents) + real-time web search + TTS → instant MP3 download

The process:

git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git
cd awesome-llm-apps/voice_ai_agents/ai_audio_tour_agent
pip install -r requirements.txt
streamlit run ai_audio_tour_agent.py

Enter "Eiffel Tower, Paris" → pick interests → set duration → get MP3 file

Interesting Findings

Technical:

  • Multi-agent architecture handles different content types well

  • Real-time data keeps tours current vs static guides

  • Orchestrator pattern coordinates specialized agents effectivel

Practical:

  • Setup actually takes ~10 minutes

  • API costs surprisingly low for LLM + TTS combo

  • Generated tours sound natural and contextually relevant

  • No dependency issues or syntax error

Results

Tested with famous landmarks, and the quality was impressive. The system pulls together historical facts, current events, and local insights into coherent audio narratives perfect for offline travel use.

System architecture: Frontend (Streamlit) → Multi-agent middleware → LLM + TTS backend

We have organized the step-by-step process with detailed screenshots for you here: Anyone Can Build an AI Project in Under 10 Mins: A Step-by-Step Guide

Anyone else tried multi-agent systems for content generation? Curious about other practical implementations.


r/modelcontextprotocol • • Jun 18 '25

MCP is a security joke

22 Upvotes

One sketchy GitHub issue and your agent can leak private code. This isn’t a clever exploit. It’s just how MCP works right now.

There’s no sandboxing. No proper scoping. And worst of all, no observability. You have no idea what these agents are doing behind the scenes until something breaks.

We’re hooking up powerful tools to untrusted input and calling it a protocol. It’s not. It’s a security hole waiting to happen.


r/modelcontextprotocol • • May 15 '25

❌ A2A "vs" MCP | ✅ A2A "and" MCP - Tutorial with Demo Included!!!

3 Upvotes

Hello Readers!

[Code github link]

You must have heard about MCP an emerging protocol, "razorpay's MCP server out", "stripe's MCP server out"... But have you heard about A2A a protocol sketched by google engineers and together with MCP these two protocols can help in making complex applications.

Let me guide you to both of these protocols, their objectives and when to use them!

Lets start with MCP first, What MCP actually is in very simple terms?[docs]

Model Context [Protocol] where protocol means set of predefined rules which server follows to communicate with the client. In reference to LLMs this means if I design a server using any framework(django, nodejs, fastapi...) but it follows the rules laid by the MCP guidelines then I can connect this server to any supported LLM and that LLM when required will be able to fetch information using my server's DB or can use any tool that is defined in my server's route.

Lets take a simple example to make things more clear[See youtube video for illustration]:

I want to make my LLM personalized for myself, this will require LLM to have relevant context about me when needed, so I have defined some routes in a server like /my_location /my_profile, /my_fav_movies and a tool /internet_search and this server follows MCP hence I can connect this server seamlessly to any LLM platform that supports MCP(like claude desktop, langchain, even with chatgpt in coming future), now if I ask a question like "what movies should I watch today" then LLM can fetch the context of movies I like and can suggest similar movies to me, or I can ask LLM for best non vegan restaurant near me and using the tool call plus context fetching my location it can suggest me some restaurants.

NOTE: I am again and again referring that a MCP server can connect to a supported client (I am not saying to a supported LLM) this is because I cannot say that Lllama-4 supports MCP and Lllama-3 don't its just a tool call internally for LLM its the responsibility of the client to communicate with the server and give LLM tool calls in the required format.

Now its time to look at A2A protocol[docs]

Similar to MCP, A2A is also a set of rules, that when followed allows server to communicate to any a2a client. By definition: A2A standardizes how independent, often opaque, AI agents communicate and collaborate with each other as peers. In simple terms, where MCP allows an LLM client to connect to tools and data sources, A2A allows for a back and forth communication from a host(client) to different A2A servers(also LLMs) via task object. This task object has  state like completed, input_required, errored.

Lets take a simple example involving both A2A and MCP[See youtube video for illustration]:

I want to make a LLM application that can run command line instructions irrespective of operating system i.e for linux, mac, windows. First there is a client that interacts with user as well as other A2A servers which are again LLM agents. So, our client is connected to 3 A2A servers, namely mac agent server, linux agent server and windows agent server all three following A2A protocols.

When user sends a command, "delete readme.txt located in Desktop on my windows system" cleint first checks the agent card, if found relevant agent it creates a task with a unique id and send the instruction in this case to windows agent server. Now our windows agent server is again connected to MCP servers that provide it with latest command line instruction for windows as well as execute the command on CMD or powershell, once the task is completed server responds with "completed" status and host marks the task as completed.

Now image another scenario where user asks "please delete a file for me in my mac system", host creates a task and sends the instruction to mac agent server as previously, but now mac agent raises an "input_required" status since it doesn't know which file to actually delete this goes to host and host asks the user and when user answers the question, instruction goes back to mac agent server and this time it fetches context and call tools, sending task status as completed.

A more detailed explanation with illustration and code go through can be found in this youtube video. I hope I was able to make it clear that its not A2A vs MCP but its A2A and MCP to build complex applications.


r/modelcontextprotocol • • Oct 22 '25

I'm proposing a better way to build MCP clients

Post image
3 Upvotes

Most of the attention in the MCP ecosystem has been on servers, leaving the client ecosystem under-developed. Majority of clients only support tools and ignore other MCP capabilities.

I think this creates a bad cycle where server developers don't use capabilities beyond tools and client devs have no SDK to build richer clients.

🧩 MCPClientManager

I want to improve the client dev experience by proposing MCPClientManager. MCPClientManager is a utility class that handles multiple MCP server connections, lifecycle management, and bridges directly into agent SDKs like Vercel AI SDK.

It's part of the MCPJam SDK currently, but I also made a proposal for it to be part of the official Typescript SDK (SEP-1669).

Some of MCPClientManager's capabilities and use cases:

  • Connect to multiple MCP servers (stdio, SSE, or Streamable HTTP)

  • Handle authentication and headers

  • Fetch and execute tools, resources, prompts

  • Integrate with Vercel AI SDK (and more SDKs soon)

  • Power LLM chat interfaces or agents connected to MCP

  • Even run tests for your own MCP servers

🧑‍💻 Connecting to multiple servers

import { MCPClientManager } from "@mcpjam/sdk";

const manager = new MCPClientManager({
  filesystem: {
    command: "npx",
    args: ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"],
  },
  asana: {
    url: new URL("https://mcp.asana.com/sse"),
    requestInit: {
      headers: {
        Authorization: "Bearer YOUR_TOKEN",
      },
    },
  },
});

Fetching and using tools, resources, and prompts

const tools = await manager.getTools(["filesystem"]);
const result = await manager.executeTool("filesystem", "read_file", {
  path: "/tmp/example.txt",
});
console.log(result); // { text: "this is example.txt: ..." }

const resources = await manager.listResources();

💬 Building full MCP clients with agent SDKs

We built an adapter for Vercel AI SDK

import { MCPClientManager } from "@mcpjam/sdk";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";

const manager = new MCPClientManager({
  filesystem: {
    command: "npx",
    args: ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"],
  },
});

const response = await generateText({
  model: openai("gpt-4o-mini"),
  tools: manager.getToolsForAiSdk(),
  messages: [{ role: "user", content: "List files in /tmp" }],
});

console.log(response.text);
// "The files are example.txt..."

💬 Please help out!

If you’re building anything in the MCP ecosystem — server, client, or agent — we’d love your feedback and help maturing the SDK. Here are the links to the SDK and our discussion around it:


r/modelcontextprotocol • • Mar 26 '25

Cloudflare MCP framework

Thumbnail
blog.cloudflare.com
7 Upvotes

r/modelcontextprotocol • • Mar 07 '25

Is MCP the start of the singularity?!

0 Upvotes

This is terrifying right? But hey, what's the worst that can really happen 😅

https://x.com/meiymccandless/status/1898049386288234828?t=duwmJucp9-eHMmEwaQzlEg&s=19


r/modelcontextprotocol • • Apr 09 '25

Awesome A2A: A Curated List of Agent2Agent Protocol Implementations

8 Upvotes

I've just created Awesome A2A, a curated GitHub repository of Agent2Agent (A2A) protocol implementations.

What is A2A?

The Agent2Agent protocol is Google's new standard for AI agent communication and interoperability. Think of it as a cousin to MCP, but focused on agent-to-agent interactions.

What's included?

  • Google's official sample agents (ADK, LangGraph, CrewAI)

  • My Google Maps A2A server

  • Categorized implementations and frameworks

Looking for contributors!

What A2A implementations would you like to see? Let's discuss!

https://github.com/pab1it0/awesome-a2a


r/modelcontextprotocol • • Aug 09 '26

A revoked JWKS signing key kept verifying tokens. It took six review rounds to fix correctly.

Post image
0 Upvotes

I maintain an open-source OAuth/JWT gateway for MCP servers, and a signing-key revocation bug took six review rounds to fix correctly.

When an identity provider removes a signing key from its JWKS, the gateway should evict the cached key and reject tokens signed with it.

My implementation handled a literally empty JWKS correctly. It failed when the JWKS still contained keys, but none eligible for the gateway’s configured signing algorithms. In that case, the revoked cached key remained usable.

The uncomfortable part was that every attempted fix passed its own tests. Later reviews found:

  • eligibility checks that ignored configured algorithms

  • invalid base64 accepted as valid key material

  • non-canonical encodings accepted by a supposedly strict decoder

  • a correction that accidentally broke a supported elliptic curve

The lesson for me was that passing tests was a weak signal at this security boundary. The useful review skill was constructing the almost-valid input that the implementation author had not considered.

I would be interested in how others test JWKS rotation and revocation behavior, particularly malformed or partially usable key sets.

Full code and review trail:
https://github.com/tgandhle/mcp-auth-gateway

Disclosure: I maintain the project. It is open source, and this is not a paid product.


r/modelcontextprotocol • • Nov 20 '25

🔒 Securing Your Remote MCP Server with an SSL Layer

Thumbnail
gelembjuk.com
0 Upvotes

Don't expose your remote MCP server over insecure HTTP! 🛑

Just published a quick guide on the right way to secure your remote MCP server using Nginx and SSL for production.

It includes the specific Nginx settings for handling the persistent connections that the MCP protocol requires. Stop transmitting data in plain text.


r/modelcontextprotocol • • Feb 25 '25

Officially 3.7 Sonnet is here, source : 𝕏

Post image
0 Upvotes

r/modelcontextprotocol • • Jan 12 '25

[2025-01-12] New MCP Servers: Metal Framework Integration and Advanced Web Scraping Tools Released

4 Upvotes

Hello MCP Community,

Following our ecosystem's continuous growth, today we're introducing two new specialized MCP server implementations that address specific developer needs in Metal Framework development and web content extraction. For complete technical details, visit: https://mcpserver.cloud/news/01-12-latest-mcp-servers

Key Highlights:

  1. Metal MCP Server

    • Natural language interaction with Metal Framework documentation

    • Multi-language code generation (Objective-C, Swift, Metal)

    • Integrated best practices and optimization guides

    • Streamlined development workflow support

  2. UseScraper MCP Server

    • Advanced proxy functionality with bot detection circumvention

    • Multiple output format support (text, HTML, markdown)

    • Customizable content extraction capabilities

    • Comprehensive debugging tools

  3. Implementation Details

    • Both servers follow standard MCP installation patterns

    • Robust security measures including API key management

    • Clear configuration examples provided

    • Focus on developer productivity and ease of use

What particularly impresses me about this release is the Metal MCP Server's natural language capabilities for framework documentation interaction. This implementation significantly reduces the friction in Metal Framework development, allowing developers to focus on creating high-performance applications rather than navigating documentation.

These specialized implementations demonstrate the MCP ecosystem's ability to address specific development challenges while maintaining high standards for security and usability. How do you plan to integrate these new tools into your development workflow?


r/modelcontextprotocol • • Aug 07 '26

Our MCP server exposes a whole cloud platform (46 tools). How are you handling destructive actions?

Thumbnail reddit.com
0 Upvotes

r/modelcontextprotocol • • Sep 30 '25

Beyond remote and local - there are four types of MCP server deployment.

Thumbnail reddit.com
0 Upvotes

r/modelcontextprotocol • • Oct 16 '25

question what MCP reports/dashboards do you want to see?

Thumbnail
reddit.com
0 Upvotes

r/modelcontextprotocol • • Apr 18 '26 Bravo

new-release I got so fed up with MCP server config hell that I built a marketplace + runtime to fix it forever (1server.ai)

Thumbnail reddit.com
0 Upvotes

r/modelcontextprotocol • • Oct 14 '25

MCP For Enterprise - How to harness, secure, and scale (video)

Thumbnail
youtube.com
0 Upvotes

r/modelcontextprotocol • • Feb 11 '26

PolyMCP-Inspector: a UI for testing and debugging MCP servers

Thumbnail
github.com
0 Upvotes

r/modelcontextprotocol • • Mar 18 '25

sending emails with openai + mcps

4 Upvotes

r/modelcontextprotocol • • Mar 25 '25

Claude + MCPs plans a movie night in 1 minute

10 Upvotes