{"_id":"@acesseseucondominio/github-pr","_rev":"5-dff6377fcb16b2ea7b4231c9a0eb59a9","name":"@acesseseucondominio/github-pr","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1":{"name":"@acesseseucondominio/github-pr","version":"0.0.1","author":{"name":"integrabotmcp"},"license":"MIT","_id":"@acesseseucondominio/github-pr@0.0.1","maintainers":[{"name":"acesseseucondominio","email":"jhol.hewres@acesseseucondominio.com"}],"homepage":"https://github.com/org/integrabot/github-pr","bugs":{"url":"https://github.com/org/integrabot/github-pr/issues"},"bin":{"github-pr":"dist/index.js"},"dist":{"shasum":"f40e880e9184076725a1a91bba2d0d4c429fd38c","tarball":"https://registry.npmjs.org/@acesseseucondominio/github-pr/-/github-pr-0.0.1.tgz","fileCount":3,"integrity":"sha512-Z8r09rup6u1p2NMQgNckd9TTzN700bWIv3ZUhbUNImGNzLTjarlwHm337WG3kH2L2JuQay28nwGLUzmTki2uPw==","signatures":[{"sig":"MEQCIBy/sbpY7RGcdD6GxyGyaqStWpP7j2e1UCblIRHNH64yAiA7u4G5Uq65k7E17ZcI+6z5pUX2IHjLMaC6soLZG0YT6A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25831},"type":"module","gitHead":"cbed70bfd45013d16bc00259f6ae1e3507b7115c","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build"},"_npmUser":{"name":"acesseseucondominio","email":"jhol.hewres@acesseseucondominio.com"},"_npmVersion":"10.9.2","description":"MCP server for GitHub PR search and analysis","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.24.2","openai":"^4.26.0","@modelcontextprotocol/sdk":"^1.8.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/github-pr_0.0.1_1745447333155_0.47436226499132594","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@acesseseucondominio/github-pr","version":"0.0.2","author":{"name":"integrabotmcp"},"license":"MIT","_id":"@acesseseucondominio/github-pr@0.0.2","maintainers":[{"name":"acesseseucondominio","email":"jhol.hewres@acesseseucondominio.com"}],"homepage":"https://github.com/org/integrabot/github-pr","bugs":{"url":"https://github.com/org/integrabot/github-pr/issues"},"bin":{"github-pr":"dist/index.js"},"dist":{"shasum":"bff567450a76e33bbadc7ef9a195c5606518a5ad","tarball":"https://registry.npmjs.org/@acesseseucondominio/github-pr/-/github-pr-0.0.2.tgz","fileCount":3,"integrity":"sha512-yduuDWLDLDtPmzrhhH61rYAFM6Y9Ye656p86vFAHhyW5HLIAanDaMq9dQlJtBEcf4ekNHZRcYClAN8ShFci65Q==","signatures":[{"sig":"MEUCIG80IKRLFWxJQjmfjhGtInwBXWxv8Q2L+FhE3dj2RWJaAiEAlCarRI8+n243wYS7cuWCu5sEtOxrHjuLsrvbaASDY7s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28387},"type":"module","gitHead":"8355671c388e0ad3bc2d3f40de33781c4c4972eb","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build"},"_npmUser":{"name":"acesseseucondominio","email":"jhol.hewres@acesseseucondominio.com"},"_npmVersion":"10.9.2","description":"MCP server for GitHub PR search and analysis","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.24.2","openai":"^4.26.0","@modelcontextprotocol/sdk":"^1.8.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/github-pr_0.0.2_1745456571104_0.750392526617639","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@acesseseucondominio/github-pr","version":"0.0.3","author":{"name":"integrabotmcp"},"license":"MIT","_id":"@acesseseucondominio/github-pr@0.0.3","maintainers":[{"name":"acesseseucondominio","email":"jhol.hewres@acesseseucondominio.com"}],"homepage":"https://github.com/org/integrabot/github-pr","bugs":{"url":"https://github.com/org/integrabot/github-pr/issues"},"bin":{"github-pr":"dist/index.js"},"dist":{"shasum":"5c08f358b451a6ed00f40e999266392aedfdab39","tarball":"https://registry.npmjs.org/@acesseseucondominio/github-pr/-/github-pr-0.0.3.tgz","fileCount":3,"integrity":"sha512-h4QGWUJ6gxiW1JsJMvacJLPiNY168n7owLscIPJeCZkb9EptrWE3vc5f2MezTXIYhxuuUYFZwPEtWAvpY8yyQQ==","signatures":[{"sig":"MEUCIQCVcnzp64s43Eb56IZ2UpMhwoERSzSKQM3H2SDhzS1gAAIgXAnJgGFFG8SPeHZIATiwavGGp7dPN+dxuyuuqmKcNAg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30564},"type":"module","gitHead":"8355671c388e0ad3bc2d3f40de33781c4c4972eb","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build"},"_npmUser":{"name":"acesseseucondominio","email":"jhol.hewres@acesseseucondominio.com"},"_npmVersion":"10.9.2","description":"MCP server for GitHub PR search and analysis","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.24.2","openai":"^4.26.0","@modelcontextprotocol/sdk":"^1.8.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/github-pr_0.0.3_1745457205531_0.7157139250613249","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@acesseseucondominio/github-pr","version":"0.0.4","author":{"name":"acesseseucondominio"},"license":"MIT","_id":"@acesseseucondominio/github-pr@0.0.4","maintainers":[{"name":"acesseseucondominio","email":"jhol.hewres@acesseseucondominio.com"}],"homepage":"https://github.com/org/acesseseucondominio/github-pr","bugs":{"url":"https://github.com/org/acesseseucondominio/github-pr/issues"},"bin":{"github-pr":"dist/index.js"},"dist":{"shasum":"dbef3e988a7b9512a882e4e5b0ef9920a9029427","tarball":"https://registry.npmjs.org/@acesseseucondominio/github-pr/-/github-pr-0.0.4.tgz","fileCount":3,"integrity":"sha512-MkSvba0eDg6migGxmgATci96ez3CVAtB8xIAta5NHG7ifEZ/u1gCxR1jZY4GqUqRWxAa5wwvD6bAlu1KwWG5xw==","signatures":[{"sig":"MEUCIEIywo2ak+DbQ6H7loDkYd+UNxhKW51OAc1sWUJk2ildAiEAkfCmzHHaYMxGKO8GO75kuiUgP0uhJ2Zqqt0jzPQ5N/I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30588},"type":"module","gitHead":"c15b6a59c77702456da9e25c99a4a57ee3809b27","scripts":{"build":"tsc","watch":"tsc --watch","prepare":"npm run build"},"_npmUser":{"name":"acesseseucondominio","email":"jhol.hewres@acesseseucondominio.com"},"_npmVersion":"10.9.2","description":"MCP server for GitHub PR search and analysis","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.24.2","openai":"^4.26.0","@modelcontextprotocol/sdk":"^1.8.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/github-pr_0.0.4_1745458187093_0.7745710585240024","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@acesseseucondominio/github-pr","version":"0.0.5","description":"MCP server for GitHub PR search and analysis","license":"MIT","author":{"name":"acesseseucondominio"},"homepage":"https://github.com/org/acesseseucondominio/github-pr","bugs":{"url":"https://github.com/org/acesseseucondominio/github-pr/issues"},"type":"module","bin":{"github-pr":"dist/index.js"},"scripts":{"build":"tsc","prepare":"npm run build","watch":"tsc --watch"},"dependencies":{"@modelcontextprotocol/sdk":"^1.8.0","openai":"^4.26.0","zod":"^3.24.2"},"devDependencies":{"@types/node":"^20.11.24","ts-node":"^10.9.2","typescript":"^5.3.3"},"_id":"@acesseseucondominio/github-pr@0.0.5","gitHead":"4ed83c997405c95ebddbf23d2c327664aa665f28","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Nip0MHl8ZWaZDDQ4BeUzN4XdUSnuzfq25+AXDHtY4fKYdo0Vzfvgkpe5wvu0h/6zHCCkhUZNyeH0ktlG81HkEA==","shasum":"aa0b9da42335ce3cf521544ad486353ad470ac68","tarball":"https://registry.npmjs.org/@acesseseucondominio/github-pr/-/github-pr-0.0.5.tgz","fileCount":3,"unpackedSize":27847,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDzpazGizdvTnZDKlQbpKNd379UXRaBSl4qoqbtysOSNAiEAqpI86jC/wt9dAOcmZlsCNMAvmlWyyrtt4T9Ze2h+C/w="}]},"_npmUser":{"name":"acesseseucondominio","email":"jhol.hewres@acesseseucondominio.com"},"directories":{},"maintainers":[{"name":"acesseseucondominio","email":"jhol.hewres@acesseseucondominio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/github-pr_0.0.5_1746030724759_0.25288023561650985"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-23T22:28:53.071Z","modified":"2025-04-30T16:32:05.074Z","0.0.1":"2025-04-23T22:28:53.345Z","0.0.2":"2025-04-24T01:02:51.311Z","0.0.3":"2025-04-24T01:13:25.840Z","0.0.4":"2025-04-24T01:29:47.297Z","0.0.5":"2025-04-30T16:32:04.918Z"},"bugs":{"url":"https://github.com/org/acesseseucondominio/github-pr/issues"},"author":{"name":"acesseseucondominio"},"license":"MIT","homepage":"https://github.com/org/acesseseucondominio/github-pr","description":"MCP server for GitHub PR search and analysis","maintainers":[{"name":"acesseseucondominio","email":"jhol.hewres@acesseseucondominio.com"}],"readme":"# GitHub PR Search & Analysis MCP\n\nEste MCP (Model Context Protocol) permite pesquisar e analisar Pull Requests do GitHub.\n\n## Funcionalidades\n\n- Pesquisar PRs por nome em repositórios da organização\n- Analisar código e regras de negócio de PRs usando gpt-4o-mini\n- Suporte a variáveis de ambiente para configuração\n\n## Requisitos\n\n- Node.js 18+\n- Token de acesso ao GitHub com permissões adequadas\n- Chave de API para o modelo gpt-4o-mini\n\n## Configuração\n\nConfigure as seguintes variáveis de ambiente:\n\n```\nGITHUB_TOKEN=seu_token_github\nOPENAI_API_KEY=sua_chave_api\nGITHUB_ORG=sua_organizacao\n```\n\nVocê pode criar um arquivo `.env` na raiz do projeto, baseado no arquivo `.env.example` fornecido:\n\n```bash\ncp .env.example .env\n# Edite o arquivo .env com suas credenciais\n```\n\n## Instalação\n\n```bash\nnpm install\nnpm run build\n```\n\n## Uso\n\nEste MCP expõe três ferramentas principais:\n\n1. `searchPullRequests` - Pesquisa PRs pelo nome nos repositórios da organização\n2. `analyzePullRequest` - Analisa o código, regras de negócio e outros aspectos de um PR específico\n3. `pr` - Pesquisa e analisa um PR pelo ID (por exemplo, ASCP-123)\n\n## Exemplos\n\n### Pesquisar PRs\n\n```\nQuero encontrar PRs relacionados a \"feature login\"\n```\n\n### Analisar PR\n\n```\nAnalise o PR #123 do repositório \"meu-repo\" para entender as mudanças de regras de negócio\n```\n\n### Buscar por ID\n\n```\nAnalise o PR com ID \"ASCP-123\"\n```\n\n## Uso via CLI\n\nO MCP também pode ser usado como uma ferramenta de linha de comando:\n\n```bash\n# Pesquisar PRs\nnode dist/index.js searchPullRequests \"feature login\" 5\n\n# Analisar PR\nnode dist/index.js analyzePullRequest \"meu-repo\" 123 \"código\"\n\n# Buscar por ID\nnode dist/index.js pr \"ASCP-123\" --repo \"meu-repo\"\n```\n\n## Desenvolvimento\n\n```bash\nnpm run watch\n``` ","readmeFilename":"README.md"}