What is the database schema?
The demo includes a `users` table with columns `id INTEGER PRIMARY KEY AUTOINCREMENT`, `name TEXT NOT NULL`, and `email TEXT UNIQUE NOT NULL`.
@anhnx000
基本信息
Some examples to build server, client test in model context protocol. Một số ví dụ sử dụng MCP
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"model_context_protocol_examples": {
"command": "python",
"args": [
"server.py"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
SQLite Database Demo is an example FastMCP application that demonstrates async SQLite database operations using the aiosqlite library. It provides a ready‑to‑run server with automatic database initialization, sample data, and a query_db tool for retrieving records. This server is intended for developers learning or prototyping with FastMCP and async SQLite.
Clone the repository, install dependencies (pip install -r requirements.txt), then start the server with python server.py. On first run the database is automatically created and populated with sample data. Use the built‑in query_db tool to query all users.
aiosqlitequery_db tool for retrieving all usersThe demo includes a `users` table with columns `id INTEGER PRIMARY KEY AUTOINCREMENT`, `name TEXT NOT NULL`, and `email TEXT UNIQUE NOT NULL`.
On first run, `server.py` automatically creates `demo.db` and populates it with two sample users: John Doe (john@example.com) and Jane Smith (jane@example.com).
The server exposes a `query_db` tool that executes a query returning all rows from the `users` table.
Python 3.7 or higher, with dependencies `aiosqlite>=0.19.0`, `pandas>=2.0.0`, and `numpy>=1.24.0`.
Edit the `_init_db()` method in `database.py` to add tables or columns. Add new query methods to the `Database` class and expose them through tools in `server.py`.

Fund Momentum MCP Server — VC intelligence for AI assistants. 1000+ active VC funds, live investor signals, AI-powered startup matching.

Safety-first stdio MCP server with 38 tools for operating Docker-based local-ydb environments locally or over SSH.
A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
MCP server for interacting with Neon Management API and databases
评论