Get Versions
get_versionRetrieves the MCP server build and connected MantisBT version in one response, optionally comparing MantisBT with the current GitHub release to report update status.
Instructions
Return the version of this mantisbt-mcp-server and of the connected MantisBT installation in one response: { mcp_server: { version, commit?, built_at? }, mantis: { installed_version, latest_version?, status?, github_note? } }
mcp_server describes the running build: version ends in "-dev" unless it is a published release; commit is the short hash it was built from ("-dirty" with uncommitted changes), built_at the ISO-8601 build time.
The MantisBT version is read from the X-Mantis-Version response header. With check_latest (default: true) it is compared against the latest MantisBT release on GitHub (outbound HTTPS request, up to 5 seconds); status is "up-to-date", "update-available", "newer-than-release" or "unknown". If MantisBT cannot be reached, mantis contains "error" instead and mcp_server is still returned.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check_latest | No | Whether to fetch the latest MantisBT release from GitHub and compare (default: true) |