Proyecto M5
БесплатноНе проверенProvides a GitHub-integrated Model Context Protocol server with Octokit client, enabling AI models to interact with GitHub repositories, issues, and pull reques
Описание
Provides a GitHub-integrated Model Context Protocol server with Octokit client, enabling AI models to interact with GitHub repositories, issues, and pull requests.
README
Este proyecto es un servidor/cliente basado en el Model Context Protocol (MCP) de Anthropic, integrado con la API de GitHub mediante Octokit para permitir que modelos de inteligencia artificial interactúen directamente con repositorios de GitHub.
📋 Características actuales
- Configuración de TypeScript: Listo para compilar código moderno (
ES2022,NodeNext). - Integración con GitHub: Cliente centralizado configurado con
@octokit/resty autenticación segura mediante variables de entorno. - Soporte de Variables de Entorno: Integración con
dotenvpara gestionar credenciales de manera segura. - Validación de Datos: Incluye
zodpara validación de esquemas y tipos en tiempo de ejecución. - Infraestructura de Pruebas: Configurado con
vitestpara ejecutar pruebas rápidas e interactivas.
🛠️ Tecnologías utilizadas
- Lenguaje: TypeScript
- Protocolo: @modelcontextprotocol/sdk
- Cliente GitHub: @octokit/rest
- Gestión de variables: dotenv
- Validación: zod
- Testing: vitest
📂 Estructura del Proyecto
Proyecto-M5-MCP/
├── src/
│ └── github/
│ └── client.ts # Inicialización del cliente Octokit de GitHub
├── tsconfig.json # Configuración del compilador de TypeScript
├── package.json # Dependencias y scripts de npm
└── .env.example # Plantilla para variables de entorno (A crear)
⚙️ Requisitos Previos
- Node.js (Versión 18 o superior recomendada)
- Un token de acceso personal de GitHub (Personal Access Token - PAT) con los permisos necesarios.
🚀 Instalación y Configuración
Instalar dependencias:
npm installConfigurar variables de entorno: Crea un archivo
.enven la raíz del proyecto basándote en la siguiente plantilla:GITHUB_TOKEN=tu_token_de_acceso_personal_aqui
💻 Scripts Disponibles
Compilar el proyecto:
npx tscEsto generará los archivos JavaScript en la carpeta
./dist.Ejecutar pruebas:
npx vitest
🔮 Próximos Pasos sugeridos
- Implementar los esquemas de herramientas (Tools) de MCP para GitHub (ej. buscar repositorios, listar issues, crear pull requests).
- Crear el punto de entrada del servidor MCP (
src/index.ts) para inicializar el transporte y registrar las herramientas. - Crear pruebas unitarias con
vitestensrc/github/client.test.tspara verificar la conexión con GitHub.
Установка Proyecto M5
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/SantiagoChavez/Proyecto-M5-MCPFAQ
Proyecto M5 MCP бесплатный?
Да, Proyecto M5 MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Proyecto M5?
Нет, Proyecto M5 работает без API-ключей и переменных окружения.
Proyecto M5 — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Proyecto M5 в Claude Desktop, Claude Code или Cursor?
Открой Proyecto M5 на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Proyecto M5 with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
