Skip to main content
Glama
demo-projects.js2.95 kB
#!/usr/bin/env node // Demo of GitHub Project Manager - Project Management Tools console.log('🚀 GitHub Project Manager - Project Management Tools Demo'); console.log('========================================================'); console.log('\n✅ Available Project Management Tools:'); console.log('1. create_project - Create new GitHub Projects v2'); console.log('2. list_projects - List existing projects with filtering'); console.log('3. get_project - Get detailed project information'); console.log('4. update_project - Update project properties'); console.log('5. delete_project - Safe project deletion with warnings'); console.log('\n📋 Project Items Management:'); console.log('6. add_project_item - Add issues/PRs to projects'); console.log('7. remove_project_item - Remove items from projects'); console.log('8. list_project_items - List all project items'); console.log('9. set_field_value - Set custom field values'); console.log('10. get_field_value - Get field values'); console.log('\n🏗️ Project Structure Management:'); console.log('11. create_project_field - Create custom fields'); console.log('12. list_project_fields - List all project fields'); console.log('13. update_project_field - Update field properties'); console.log('14. create_project_view - Create custom views'); console.log('15. list_project_views - List all project views'); console.log('16. update_project_view - Update view settings'); console.log('\n🔧 Tool Features:'); console.log('• GraphQL API integration for GitHub Projects v2'); console.log('• Automatic user/organization detection'); console.log('• Safety checks for deletion operations'); console.log('• Comprehensive error handling'); console.log('• Detailed success responses'); console.log('• Bulk operations support'); console.log('\n📊 Example Usage:'); console.log(` // Create a new project { "name": "create_project", "arguments": { "title": "My New Project", "description": "A project for managing tasks" } } // Update project { "name": "update_project", "arguments": { "project_number": 1, "description": "Updated description", "public": true } } // Delete project (with safety checks) { "name": "delete_project", "arguments": { "project_number": 1, "confirm": true, "force": true } } `); console.log('\n🎯 Testing Status:'); console.log('✅ Code compilation: Working'); console.log('✅ Tool structure: Complete'); console.log('✅ Error handling: Implemented'); console.log('✅ GraphQL integration: Ready'); console.log('❓ Authentication: Requires valid GitHub token'); console.log('\n🔑 Setup Required:'); console.log('Set environment variables:'); console.log('• GITHUB_TOKEN - GitHub personal access token'); console.log('• GITHUB_OWNER - GitHub username/organization'); console.log('• GITHUB_REPO - Repository name'); console.log('\n🚀 All project management tools are ready for use!');

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Faresabdelghany/github-project-manager-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server