~/talk

Let's make an MCP Server!

Talkat DevFestMN 2025 · on Saturday, 2025-12-06· [ai-assisted-development, devops-and-delivery]
links:none on file
slides:none on file

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

  1. 0:00Building an MCP server
  2. 1:49Node.js vs Python for MCP
  3. 3:35Project setup and Git repo
  4. 6:07Basic MCP server in TypeScript
  5. 8:17Codeberg REST API integration
  6. 10:26Debugging OAuth and tokens
  7. 12:34Refactoring hardcoded values
  8. 13:16Testing with MCP Inspector
  9. 15:21Adding to Copilot
  10. 17:31Troubleshooting protocol/auth
  11. 19:17Creating issues via MCP
  12. 20:26MCP registry publishing challenges
  13. 21:50Fixing auth and publishing
  14. 23:15MCP registry success
  15. 23:59CI/CD with Codeberg runners
  16. 24:42Docker image build/push
  17. 25:45Deploy to Cloud Run
  18. 26:56MCP server for Gemini CLI
  19. 28:25Install as Gemini extension
  20. 29:29Future steps and local Kubernetes
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.