How to Build a ChatGPT Plugin with Your Own MCP Server and Sign-In
Build a ChatGPT plugin on your own Python MCP server: honest tool flags, a public address, OAuth sign-in checks, a small card and a submission pack.
- OpenAI API
- 6 days
- advanced
- 6 lessons
- about 3 hours
Free and self-paced. Every lesson is open to everyone.
Start with lesson 1What you will do
The example is a made-up kayak hire. Access depends on plan, role and region, so lesson 1 reads the official pages first. You need basic Python, Node.js and a ChatGPT plan that allows custom MCP servers. No OpenAI API key is needed.
How this course works
The course is free and you go at your own pace. Each lesson is short: a bit of reading and a few small tasks you do in the tool itself, so you learn by using it. Every lesson is open to everyone, no account needed. A free account saves your progress, so you can pick up where you left off on any device. What the account stores and how to get it removed is on the privacy page.
Syllabus
- Day 1, 20 minutes What a ChatGPT plugin is and who can add a custom MCP server Find out what a ChatGPT plugin is and which plans and roles can add a custom MCP server, then write a one-page plan for a made-up kayak hire plugin.
- Day 2, 30 minutes How to build and test an MCP server with two tools Build a small Python MCP server with two tools, one read-only and one for rules, run it on your own computer and test it with the MCP Inspector command line.
- Day 3, 30 minutes How to connect your MCP server to ChatGPT Give your local MCP server a public https address, add it in ChatGPT as a custom MCP server, and test it with a written set of prompts.
- Day 4, 30 minutes How to add OAuth sign-in to your ChatGPT plugin server Add OAuth sign-in to your MCP server: two tools that need a login, the metadata ChatGPT looks for, and six sign-in cases tested locally with practice tokens.
- Day 5, 25 minutes How to show results as a card in a ChatGPT plugin Add a small card to your MCP server that lists the free kayaks, and check how the card and the tool are linked before ChatGPT ever opens it.
- Day 6, 30 minutes How to submit a ChatGPT plugin for review and keep it updated Prepare a ChatGPT plugin submission pack, check it with a small script, and learn the review steps, the EU data residency rule and how updates are scanned.