gitea-mcp for VS Code
io.github.werebear73/gitea-mcp
Model Context Protocol server for Gitea (and Forgejo, Codeberg).
client:VS Code
transport:stdio
runtime:pypi
Install gitea-mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "gitea-url",
"description": "GITEA_URL",
"password": true
},
{
"type": "promptString",
"id": "gitea-token",
"description": "GITEA_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "gitea-timeout",
"description": "GITEA_TIMEOUT",
"password": true
},
{
"type": "promptString",
"id": "gitea-max-retries",
"description": "GITEA_MAX_RETRIES",
"password": true
},
{
"type": "promptString",
"id": "gitea-retry-base-delay",
"description": "GITEA_RETRY_BASE_DELAY",
"password": true
}
],
"servers": {
"gitea-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"gitea-mcp"
],
"env": {
"GITEA_URL": "${input:gitea-url}",
"GITEA_TOKEN": "${input:gitea-token}",
"GITEA_TIMEOUT": "${input:gitea-timeout}",
"GITEA_MAX_RETRIES": "${input:gitea-max-retries}",
"GITEA_RETRY_BASE_DELAY": "${input:gitea-retry-base-delay}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs