TechloopMCP è un sistema modulare per creare server MCP (Model Context Protocol) utilizzando il framework Frappe. Il sistema è progettato con bassa complessità ciclomatica e architettura modulare per garantire manutenibilità e scalabilità.
- Architettura Modulare: Ogni tool è in un file separato, organizzato per categoria
- Bassa Complessità: Design semplice e single-purpose per ogni componente
- Server Riutilizzabili: Template server pronto per nuovi progetti
- Tool di Debug e Test: Set completo di tool per sviluppo e diagnostica
Endpoint: /api/method/techloopmcp.mcp.debug.handle_mcp
Include tool di debug e test:
- Debug:
echo,ping,get_system_info,log_message - Test:
test_connection,test_validation,test_error_handling
Nota: Tutti i server MCP usano la funzione handler standardizzata handle_mcp().
Gli endpoint sono auto-generati basandosi sul percorso del modulo.
Per documentazione completa, consulta la Documentazione TechloopMCP.
- Implementazione Tool: Guida completa su come creare e utilizzare i tool MCP
- Implementazione MCP Server: Guida dettagliata sulla creazione e configurazione dei server MCP
techloopmcp/
├── mcp/ # Server MCP
│ ├── debug.py # Server debug con tool di test
│ └── template.py # Server template riutilizzabile
├── tools/ # Tool MCP organizzati per categoria
│ ├── debug/ # Tool di debug
│ └── test/ # Tool di test
└── docs/ # Documentazione completa
├── README.md # Indice documentazione
├── tools/ # Documentazione tool
└── mcp_servers/ # Documentazione server
You can install this app using the bench CLI:
cd $PATH_TO_YOUR_BENCH
bench get-app $URL_OF_THIS_REPO --branch develop
bench install-app techloopmcpThis app uses pre-commit for code formatting and linting. Please install pre-commit and enable it for this repository:
cd apps/techloopmcp
pre-commit installPre-commit is configured to use the following tools for checking and formatting your code:
- ruff
- eslint
- prettier
- pyupgrade
unlicense