Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

MCP_QUICKSTART
https://www.claudemcp.com/docs/quickstart
0
Github Watches
0
Github Forks
0
Github Stars
🧠 MCP Quickstart: Claude + SQLite + Docker
TL;DR: Build a secure local Claude brain using Docker, SQLite, and uvx
.
🛡️ Step 1: Build & Run the Docker SQLite Server
docker-compose build
docker-compose up
Your server will be live at http://localhost:8080
, ready to accept MCP-style queries.
🧠 Step 2: Install Astral (uv
/ uvx
)
Astral is the MCP-compatible package manager.
curl -Ls https://astral.sh/uv/install.sh | sh
Verify it:
uvx mcp-server-sqlite --help
🔧 Step 3: Make uvx
Available to Claude Desktop
Claude launched via Spotlight/Dock doesn’t see your shell config. So we have to tell macOS:
launchctl setenv PATH "$HOME/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
You can also verify this:
launchctl getenv PATH
🔗 Add Symlink for uv
(required by uvx
)
Claude expects uv
at /usr/local/bin/uv
, but Astral installs it in ~/.local/bin/uv
. Fix that with:
sudo ln -s $HOME/.local/bin/uv /usr/local/bin/uv
Verify:
uvx mcp-server-sqlite --help
⚙️ Step 4: Configure Claude to Use Your SQLite DB
Create or edit:
~/Library/Application Support/Claude/claude_desktop_config.json
Insert:
{
"mcpServers": {
"sqlite": {
"command": "uvx",
"args": [
"mcp-server-sqlite",
"--db-path",
"/Users/YOUR_USERNAME/Desktop/mcp_quickstart/data/test.db"
]
}
}
}
✅ Make sure to replace YOUR_USERNAME
with your actual username.
🧪 Step 5: Test It Manually
Try this from the terminal:
echo '{"jsonrpc":"2.0","id":"debug","method":"query","params":{"sql":"SELECT * FROM products LIMIT 1"}}' \
| uvx mcp-server-sqlite --db-path /Users/YOUR_USERNAME/Desktop/mcp_quickstart/data/test.db
You should get back:
{
"jsonrpc": "2.0",
"id": "debug",
"result": {
"columns": ["id", "name", "price"],
"rows": [[1, "Widget", 19.99]]
}
}
🧰 Troubleshooting
🧹 Check if the DB is accessible
docker exec -it $(docker ps --filter "name=mcp-server" -q) sqlite3 /data/test.db
Then run:
SELECT * FROM products LIMIT 1;
🔄 Rebuild the Docker container
docker-compose down -v && docker-compose build && docker-compose up
💬 Bonus: Simulate Claude Queries with a Test JSON
echo '{"jsonrpc":"2.0","id":"test123","method":"query","params":{"sql":"SELECT * FROM products"}}' > test-mcp.json
cat test-mcp.json | uvx mcp-server-sqlite --db-path /Users/YOUR_USERNAME/Desktop/mcp_quickstart/data/test.db
📚 Resources
- Claude MCP Docs → https://www.claudemcp.com/docs/quickstart
- Model Context Protocol → https://modelcontextprotocol.io
✅ You now have:
- 🐻 Dockerized SQLite server
- 🧪 Secure query interface via FastAPI + Uvicorn
- 📡 Claude MCP bridge using
uvx
+mcp-server-sqlite
- 🧠 A local Claude brain that talks SQL
相关推荐
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.
Carbon footprint calculations breakdown and advices on how to reduce it
Text your favorite pet, after answering 10 questions about their everyday lives!
You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!
Best-in-class AI domain names scoring engine and availability checker. Brandability, domain worth, root keywords and more.
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
Ce référentiel est pour le développement du serveur MCP Azure, apportant la puissance d'Azure à vos agents.
🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.
AI's query engine - Platform for building AI that can answer questions over large scale federated data. - The only MCP Server you'll ever need
PDF Traduction de papier scientifique avec formats conservés - 基于 AI 完整保留排版的 PDF 文档全文双语翻译 , 支持 Google / Deepl / Olllama / Openai 等服务 , 提供 CLI / GUI / MCP / DOCKER / ZOTERO
Ce projet a été créé pour démontrer comment nous pouvons nous connecter avec différents protocoles de contexte de modèle (MCP).
✨ 易上手的多平台 llm 聊天机器人及开发框架 ✨ 平台支持 QQ 、 QQ 频道、 Télégramme 、微信、企微、飞书 | MCP 服务器、 Openai 、 Deepseek 、 Gemini 、硅基流动、月之暗面、 Olllama 、 Oneapi 、 Dify 等。附带 webui。
Reviews

user_QyvSChbl
As a dedicated user of mcp_quickstart, I have to say that this tool has exceeded my expectations. Created by chrisjmendez, it offers a seamless and efficient solution for quick project setup. The user-friendly interface and thorough documentation make it approachable even for beginners. If you’re looking for a reliable starting point for your projects, mcp_quickstart is definitely worth a try.