yggdrasil-mcp-server

sramkrishna/yggdrasil-mcp-server

3.2

If you are the rightful owner of yggdrasil-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

Yggdrasil MCP Server is a Git hosting integration server that connects GitHub and GitLab with AI assistants.

Tools
7
Resources
0
Prompts
0

Yggdrasil MCP Server

Git hosting integration MCP server for connecting GitHub and GitLab with your AI assistant.

Named after Yggdrasil, the world tree in Norse mythology that connects all the nine realms. Just as Yggdrasil connects different worlds, this server connects different Git hosting platforms.

Features

GitLab Integration

  • Read-only mode by default - write operations disabled for safety
  • List issues across projects
  • View merge requests
  • Query project information
  • Create and update issues (disabled in read-only mode)
    • To enable writes: Set READ_ONLY = False in providers/gitlab.py

GitHub Integration (Coming Soon)

  • List issues across repositories
  • Create and update issues
  • Manage pull requests
  • Query repository information

Requirements

  • Python 3.9+
  • GitLab CLI (glab) installed and authenticated
  • GitHub CLI (gh) installed and authenticated (for GitHub features)

Installation

# Install glab
# Fedora/RHEL
sudo dnf install glab

# Ubuntu/Debian
sudo apt install glab

# Authenticate with GitLab
glab auth login

# Install Yggdrasil
cd yggdrasil-mcp-server
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Configuration

Add to your Hugin config.toml:

[servers.yggdrasil]
command = "/var/home/sri/Projects/yggdrasil-mcp-server/.venv/bin/python"
args = ["-m", "yggdrasil_mcp_server.server"]

Usage

Via Hugin (read-only mode):

"Show me my open GitLab issues"
"What merge requests need my review?"
"Show me issues in the Teams/Fundraising project"
"Get details about GitLab issue #42 in my-project"

Note: Create/update operations are disabled by default for safety.

Tools Provided

GitLab (Read-Only Mode)

  • list_gitlab_issues - List issues with filtering
  • get_gitlab_issue - Get detailed issue information
  • list_gitlab_merge_requests - List merge requests
  • list_gitlab_projects - List your projects
  • get_gitlab_project - Get project details
  • create_gitlab_issue - DISABLED (read-only mode)
  • update_gitlab_issue - DISABLED (read-only mode)

Cross-Platform

  • link_issue_to_task - Link Git issue to Planify task (stored in Muninn)

Development

# Run tests
pytest tests/

# Test GitLab connection
glab issue list

Architecture

Yggdrasil MCP Server
├── GitLab Provider (wraps glab CLI)
├── GitHub Provider (wraps gh CLI)
└── Cross-platform utilities

License

MIT