iflow-mcp_jztan_redmine-mcp-server

v0.10.0
iflow-mcp_jztan_redmine-mcp-server Checked 4 days ago Published 10 months ago

Production-ready MCP server for Redmine with security, pagination, and enterprise features

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_redmine_issue

Retrieve a specific Redmine issue by ID. Args: issue_id: The ID of the issue to retrieve include_journals: Whether to include journals (comments) in the result. Defaults to ``True``. include_attachments: Whether to include attachments metadata in the result. Defaults to ``True``. Returns: A dictionary containing issue details. If ``include_journals`` is ``True`` and the issue has journals, they will be returned under the ``"journals"`` key. If ``include_attachments`` is ``True`` and attachments exist they…

ParameterTypeDescription
issue_id *integer
include_attachmentsboolean
include_journalsboolean

list_redmine_projects

Lists all accessible projects in Redmine. Returns: A list of dictionaries, each representing a project.

list_my_redmine_issues

List issues assigned to the authenticated user with pagination support. This uses the Redmine REST API filter ``assigned_to_id='me'`` to retrieve issues for the current user. Supports server-side pagination to prevent MCP token overflow and improve performance. Args: **filters: Keyword arguments for filtering issues: - limit: Maximum number of issues to return (default: 25, max: 1000) - offset: Number of issues to skip for pagination (default: 0) - include_pagination_info: Return structured response with metadata…

ParameterTypeDescription
filters *

search_redmine_issues

Search Redmine issues matching a query string with pagination support. Performs text search across issues using the Redmine Search API. Supports server-side pagination to prevent MCP token overflow. Args: query: Text to search for in issues. **options: Search, pagination, and field selection options: - limit: Maximum number of issues to return (default: 25, max: 1000) - offset: Number of issues to skip for pagination (default: 0) - include_pagination_info: Return structured response with metadata…

ParameterTypeDescription
options *
query *string

create_redmine_issue

Create a new issue in Redmine.

ParameterTypeDescription
fields *
project_id *integer
subject *string
descriptionstring

update_redmine_issue

Update an existing Redmine issue. In addition to standard Redmine fields, a ``status_name`` key may be provided in ``fields``. When present and ``status_id`` is not supplied, the function will look up the corresponding status ID and use it for the update.

ParameterTypeDescription
fields *object
issue_id *integer

get_redmine_attachment_download_url

Get HTTP download URL for a Redmine attachment. Downloads the attachment to server storage and returns a time-limited HTTP URL that clients can use to download the file. Expiry time and storage location are controlled by server configuration. Args: attachment_id: The ID of the attachment to retrieve Returns: Dict containing download_url, filename, content_type, size, expires_at, and attachment_id Raises: ResourceNotFoundError: If attachment ID doesn't exist Exception: For other download or processing errors

ParameterTypeDescription
attachment_id *integer

summarize_project_status

Provide a summary of project status based on issue activity over the specified time period. Args: project_id: The ID of the project to summarize days: Number of days to look back for analysis. Defaults to 30. Returns: A dictionary containing project status summary with issue counts, activity metrics, and trends. On error, returns a dictionary with an "error" key.

ParameterTypeDescription
project_id *integer
daysinteger

search_entire_redmine

Search for issues and wiki pages across the Redmine instance. Args: query: Text to search for. Case sensitivity controlled by server DB config. resources: Filter by resource types. Allowed: ['issues', 'wiki_pages'] Default: None (searches both issues and wiki_pages) limit: Maximum number of results to return (max 100) offset: Pagination offset for server-side pagination Returns: Dictionary containing search results, counts, and metadata. On error, returns {"error": "message"}. Note: v1.4 Scope Limita…

ParameterTypeDescription
query *string
limitinteger
offsetinteger
resources

get_redmine_wiki_page

Retrieve full wiki page content from Redmine. Args: project_id: Project identifier (ID number or string identifier) wiki_page_title: Wiki page title (e.g., "Installation_Guide") version: Specific version number (None = latest version) include_attachments: Include attachment metadata in response Returns: Dictionary containing full wiki page content and metadata Note: Use get_redmine_attachment_download_url() to download attachments.

ParameterTypeDescription
project_id *
wiki_page_title *string
include_attachmentsboolean
version

create_redmine_wiki_page

Create a new wiki page in a Redmine project. Args: project_id: Project identifier (ID number or string identifier) wiki_page_title: Wiki page title (e.g., "Installation_Guide") text: Wiki page content (Textile or Markdown depending on Redmine config) comments: Optional comment for the change log Returns: Dictionary containing created wiki page metadata, or error dict on failure

ParameterTypeDescription
project_id *
text *string
wiki_page_title *string
commentsstring

update_redmine_wiki_page

Update an existing wiki page in a Redmine project. Args: project_id: Project identifier (ID number or string identifier) wiki_page_title: Wiki page title (e.g., "Installation_Guide") text: New wiki page content comments: Optional comment for the change log Returns: Dictionary containing updated wiki page metadata, or error dict on failure

ParameterTypeDescription
project_id *
text *string
wiki_page_title *string
commentsstring

delete_redmine_wiki_page

Delete a wiki page from a Redmine project. Args: project_id: Project identifier (ID number or string identifier) wiki_page_title: Wiki page title to delete Returns: Dictionary with success status, or error dict on failure

ParameterTypeDescription
project_id *
wiki_page_title *string

cleanup_attachment_files

Clean up expired attachment files and return storage statistics. Returns: A dictionary containing cleanup statistics and current storage usage. On error, a dictionary with "error" is returned.