A Blog full of AI Projects

A Blog full of AI Projects

Python FastAPI with JWT Auth serving a LangChain AI Agent for Simply.com Private MCP OAuth 2.1

19-November-2026

Python FastAPI with JWT Authentication and a LangChain AI Agent for Simply.com Private MCP - hosted at Vercel Cloud using Serverless Functions

There is a Vue 3 SPA for the FastAPI

A production-style FastAPI backend built with LangChain, Groq LLMs, and JWT authentication. The system implements a modern tool-calling AI agent architecture that automatically decides when to use external tools such as Wikipedia for factual retrieval or the private MCP at Simply using OAuth 2.1

Try the demo by OpenAPI...

Try the demo by Vue 3 SPA...

A Starter FastAPI + JWT Auth + MCP + OAuth 2.1 + Simply + AI Agent + LangChain + Vue 3 + OpenAPI / Swagger - secured by HTTPS

During the development process, I used ChatGPT for assisting with code generation and Github Copilot for code inline suggestion

DevOps by VS Code + GitHub + Vercel Cloud

The Web API at GitHub

The Vue SPA at GitHub

Local Test Application build with Python FastAPI with JWT Auth and a LangChain AI Agent for Simply.com MCP OAuth 2.1. This version stores the credentials from the Simply MCP in .env instead of PostgreSQL

The Web API at GitHub
Software Developer - Per Olsen - Denmark