Let's make an MCP Server!
summary
Builds a Node.js TypeScript server that exposes /mcp, adds tools (echo, login, get user, create/list issues) wired to a Forgejo/Codeberg REST API, and verifies them with Gemini CLI and Copilot; token handling requires deleting stale tokens and re-creating them, and the MCP auth workflow needs an MCP registry P384 key with exact JWT settings. Packaging uses Docker, publishes via npm then MCP publish, and deploys to Docker + Cloud Run for pennies so the server actually works end to end.
AI-written summary · about
chapters (20)
- 0:00Building an MCP server
- 1:49Node.js vs Python for MCP
- 3:35Project setup and Git repo
- 6:07Basic MCP server in TypeScript
- 8:17Codeberg REST API integration
- 10:26Debugging OAuth and tokens
- 12:34Refactoring hardcoded values
- 13:16Testing with MCP Inspector
- 15:21Adding to Copilot
- 17:31Troubleshooting protocol/auth
- 19:17Creating issues via MCP
- 20:26MCP registry publishing challenges
- 21:50Fixing auth and publishing
- 23:15MCP registry success
- 23:59CI/CD with Codeberg runners
- 24:42Docker image build/push
- 25:45Deploy to Cloud Run
- 26:56MCP server for Gemini CLI
- 28:25Install as Gemini extension
- 29:29Future steps and local Kubernetes
related talks
01h 16mBuild Your MCP server
26mBuild your First MCP App
17mMCP Is Not Good Yet
25mAre MCP Servers Dead?
01h 31mBuild AI-Powered Automation Tools: MCP Workshop for Developers & Engineers
31mHow to build an MCP server for Vue?
56mIntroducing the SQL MCP Server
01h 01m.NET Meets MCP: Build Your Own AI-Powered Service with C#
