MCP_Tutorials
by anaskhaann
Overview
This repository demonstrates the creation of MCP (Microservice-compatible Protocol) servers and clients using FastMCP and Langchain, exemplified by an expense tracker application.
Installation
uv run fastmcp run 04.expense_tracker_remote_mcp.pyEnvironment Variables
- OPENAI_API_KEY
Security Notes
The README explicitly states a critical flaw: 'there is not authentication for users, we just have a centralized database for all user which is not good because all expenses will get merged into one another.' This means any client (local or remote) can perform all database operations without validation, making it highly insecure for any real-world, multi-user, or sensitive data scenario. While SQLite queries are parameterized against basic SQL injection, the lack of authentication is a fundamental security bypass.
Similar Servers
MCP
Building and deploying an MCP server for expense tracking that integrates with AI chatbots and custom clients, demonstrating core MCP concepts and multi-server client interaction.
expense_tracker_mcp_server
A backend server for an expense tracking application, leveraging the FastMCP framework for API functionality.
-expense-tracker-mcp-proxy
Proxy remote FastMCP expense tracker tools to a local stdio interface.
mcp-server
Develops an MCP server to expose tools (e.g., arithmetic, Google Calendar event management) and resources to AI applications.