/ config.json
config.json
 1  {
 2    "mcpServers": {
 3      "forgejo": {
 4        "command": "~/code/forgejo-mcp/forgejo-mcp",
 5        "args": [
 6          "--transport", "stdio",
 7          "--url", "https://example.org"
 8        ],
 9        "env": {
10          "FORGEJO_URL": "https://example.org",
11          "FORGEJO_ACCESS_TOKEN": "<your personal access token>",
12          "FORGEJO_DEBUG": "false"
13        },
14        "disabled": false,
15        "alwaysAllow": []
16      }
17    }
18  }