GitHub Stars
0
User Rating
Not Rated
Forks
0
Issues
0
Views
0
Favorites
0
README
GitLab Issues MCP
Professional GitLab Issues Management with FastMCP and Streamlit.
Features
- š¦ GitLab Integration - Connect to any GitLab instance
- š¤ AI-Powered - Natural language queries with OpenAI
- š Smart Filtering - Filter by month, labels, assignee, state
- š Professional Tables - Clean, formatted issue displays
- šļø Modular Architecture - Clean, testable, maintainable code
- ā” FastMCP Powered - Efficient MCP server implementation
Project Structure
gitlab-issues-mcp/
āāā src/
ā āāā config/ # Configuration management
ā āāā core/ # Core utilities (GitLab client, date parsing)
ā āāā models/ # Data models
ā āāā services/ # Business logic
ā āāā mcp/ # FastMCP server
ā āāā ui/ # Streamlit interface
āāā tests/ # Unit tests
āāā run_server.py # MCP server runner
āāā run_app.py # Streamlit app runner
āāā requirements.txt # Dependencies
Setup
- Install dependencies:
pip install -r requirements.txt
- Configure environment:
cp .env.example .env
# Edit .env with your credentials
- Run MCP server:
python run_server.py --transport http --port 8000
- Run Streamlit app:
streamlit run run_app.py
Usage
Natural Language Queries:
- "Show me issues from January"
- "What bugs do we have this month?"
- "Last month's high priority issues"
- "Show me closed issues assigned to John"
Development:
# Run tests
pytest
# Format code
black src/ tests/
# Type checking
mypy src/
# Install in development mode
pip install -e .[dev]
Configuration
Required environment variables:
OPENAI_API_KEY
- Your OpenAI API keyGITLAB_TOKEN
- GitLab personal access tokenGITLAB_PROJECT_IDS
- Comma-separated project IDs/pathsGITLAB_URL
- GitLab instance URL (optional, defaults to gitlab.com)
Architecture
- Configuration Layer - Environment-based configuration management
- Core Layer - GitLab client and utility functions
- Model Layer - Type-safe data models
- Service Layer - Business logic and API interactions
- MCP Layer - FastMCP server implementation
- UI Layer - Streamlit web interface
License
MIT License
Author Information
DevOps Engineer, Full Stack Developer, Linux, Python, Java, C/C++, JavaScript specialist.
LuxoftPoland
20
Followers
58
Repositories
0
Gists
13
Total Contributions
Top Contributors
Threads