todo-mcp-server

rcm-webdev/todo-mcp-server

3.1

If you are the rightful owner of todo-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

This document provides a structured summary of a Model Context Protocol (MCP) server implemented with TypeScript, focusing on authentication, data persistence, and billing.

To-Do MCP Server with TypeScript

Overview

  • Authentication with Kinde
  • Data persistence with Neon Postgres
  • Billing enforcement with a free tier and upgrade path
  • MCP tool exposure so all of this works seamlessly

Dependencies

  • @modelcontextprotocol/sdk package gives us everything we need to build and expose MCP servers and tools.
  • @neondatabase/serverless to connect to a Neon Postgres database
  • @kinde-oss/kinde-typescript-sdk handles authentication and billing through Kinde.
  • express to define routes and handle middleware
  • jsonwebtoken + jwks-client to verify tokens with Kinde
  • express-session will take care of managing session state so users can stay logged in across requests.

Database Architecture

┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐
│   setup-db.ts   │───▶│  Neon Database  │───▶│   PostgreSQL    │
│   (Schema)      │    │   (Serverless)  │    │   (Tables)      │
└─────────────────┘    └─────────────────┘    └─────────────────┘

Authentication

  • OAuth login and logout managed with Kinde