gitlab-issue-creator-mcp
v1.0.8
Published
MCP server for creating GitLab issues (self-hosted compatible).
Downloads
724
Maintainers
Readme
GitLab Issue Creator (MCP Server)
An MCP server that creates GitLab issues, compatible with self-hosted instances (default: https://gitlab.com).
Tools
create_gitlab_issue- Required:
title,projectId - Optional:
description,labels,assigneeIds,milestoneId,dueDate,confidential - Optional overrides:
gitlabUrl(token must come from env)
- Required:
Configuration
Set env vars (recommended):
GITLAB_URL(defaults tohttps://gitlab.com)GITLAB_TOKEN(required)
See .env.example.
Install (from npm)
Prerequisites:
- Node.js >= 18
Install into an existing project:
npm install gitlab-issue-creator-mcp -DVS Code MCP setup (npm install)
VS Code MCP servers are typically configured in .vscode/mcp.json. If you installed this package into a project, point VS Code at the installed dist/index.js and use envFile to load secrets from a local .env file:
{
"servers": {
"gitlab-issue-creator-mcp": {
"type": "stdio",
"command": "node",
"args": ["./node_modules/gitlab-issue-creator-mcp/dist/index.js"],
"envFile": "${workspaceFolder}/.env"
}
}
}Notes:
- Some clients require an absolute path for
args[0]. In that case, replace the relative./node_modules/...path with an absolute path on your machine. GITLAB_TOKENis required;GITLAB_URLdefaults tohttps://gitlab.com.- Keep
.envout of source control (this repo’s.gitignorealready ignores it). Start from the template:cp .env.example .env.
Develop (from source)
Recommended flow for teammates:
- Clone this repo
- Install + build:
npm install && npm run build - Open the repo folder in VS Code
- Start the MCP server (Chat tool picker or
MCP: List Servers)
Develop / Build
- Install:
npm install - Build:
npm run build - Run:
GITLAB_TOKEN=... npm start
If you want to run the server from a local clone (instead of installing from npm), build it and point your MCP client at dist/index.js.
Notes
- Prefer a Project Access Token or a PAT scoped as narrowly as possible.
- This server prints no secrets, but your MCP client should keep tokens out of logs.
License
MIT. See LICENSE.
