Describe the bug
The MCP server for self-hosted Gitlab fails to connect. The error message shows garbled text followed by "
MCP error -32603: Invalid arguments: items.0.owner: Required, items.0.fork: Required"
To Reproduce
Steps to reproduce the behavior:
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gitlab"
],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>",
"GITLAB_API_URL": "https://gitlab.com/api/v4" // Optional, for self-hosted instances
}
}
}
}
GITLAB_PERSONAL_ACCESS_TOKEN scope api, read_repository, write_repository
Expected behavior
A clear and concise description of what you expected to happen.
Logs
If applicable, add logs to help explain your problem.
Additional context
Add any other context about the problem here.
Describe the bug
The MCP server for self-hosted Gitlab fails to connect. The error message shows garbled text followed by "
MCP error -32603: Invalid arguments: items.0.owner: Required, items.0.fork: Required"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Logs
If applicable, add logs to help explain your problem.
Additional context
Add any other context about the problem here.