MCP_SERVER_101
Práctica de ejemplo del servidor MCP
1
Github Watches
0
Github Forks
0
Github Stars
Claude MCP Protocol Practice
This repository is a practice session for MIT Hack Decentralized AI summit. It includes basic steps to create a Claude MCP protocol up and running in under 5 minutes on Windows.
Weather App Setup
Prerequisites
- Make sure you pip install uv
Steps
cd weather
uv run weather.py
This starts the server hosted locally on your machine. The python file includes tools available to LLM for getting alerts and forecast from government API.
Claude Configuration
Make sure you changed the claude_config.json available on Claude desktop:
- Navigate to File -> Settings -> Developer -> Edit Config
- Edit config section and provide absolute path to your python file
Voila! Your 1st MCP server is up and running in 5 mins.
Sample Config File
{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["-y", "<abs_path_to_file>/mcp-server-weather"]
}
}
}
SQL-lite DB Example for Bakery Data
Steps to Run the SQL DB as an MCP Server
-
Clone the repository:
git clone https://github.com/modelcontextprotocol/servers.git -
Navigate to the SQLite directory:
cd servers cd src cd sqlite -
Install Docker if needed:
- Follow instructions at: https://docs.docker.com/engine/install/
- Verify it runs as per the documentation
-
Build the Docker image:
docker build -t mcp/sqlite . -
Update your Claude config file:
{ "mcpServers": { "sqlite": { "command": "docker", "args": [ "run", "--rm", "-i", "-v", "mcp-test:/mcp", "mcp/sqlite", "--db-path", "/mcp/test.db" ] } } } -
Restart Claude to apply changes
Bakery Database Setup
-
Create bakery DB tables:
- ingredients (id, name, unit, quantity, cost, supplier, min_order_quantity)
-
Populate with:
- 10 ingredients with MOQs
-
Add queries for:
- Low stock alerts
Hope this is helpful to you in the future!
References
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
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.
Converts Figma frames into front-end code for various mobile frameworks.
Take an adjectivised noun, and create images making it progressively more adjective!
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Reviews
user_YvS5kAs3
I have been using mcp_server_101 for a while now, and I must say it has exceeded my expectations. The setup was straightforward, and the documentation provided by harshal-14 is incredibly helpful. The server runs smoothly and has significantly improved my workflow. Highly recommend checking it out! You can find it here: https://github.com/harshal-14/mcp_server_101