get_server_info
Returns details about the gitea-mcp server and its Gitea connection, including server version, Gitea URL, authenticated user, and Gitea instance version.
Instructions
Return information about the running gitea-mcp server and its Gitea connection.
Performs two Gitea API calls — GET /user (to identify the authenticated
user the PAT belongs to) and GET /version (to report the Gitea instance
version). If /version is unavailable (older Gitea, or the PAT lacks the
scope), gitea_version falls back to None rather than raising.
Returns a dict with:
gitea_mcp_version— the gitea-mcp package version (e.g."0.4.1").gitea_url— the Gitea base URL this server is configured against.gitea_user— theloginof the authenticated Gitea user.gitea_version— the Gitea instance version string, orNoneif unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||