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/sdkpackage gives us everything we need to build and expose MCP servers and tools.@neondatabase/serverlessto connect to a Neon Postgres database@kinde-oss/kinde-typescript-sdkhandles authentication and billing through Kinde.expressto define routes and handle middlewarejsonwebtoken+jwks-clientto verify tokens with Kindeexpress-sessionwill 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