Gnoll Docs Back to Dashboard
Quick Start
Getting Started

MCP Integration

Connect AI agents directly to Gnoll using the Model Context Protocol (MCP). Agents can create, update, query, and close issues through natural tool calls.

What is MCP?

The Model Context Protocol is a standard for connecting AI models to external tools and data sources. Gnoll implements an MCP server that exposes all major features as tools that AI agents can call.

Connecting

The MCP endpoint is available at:

/mcp

It requires authentication (cookie-based or API key). Configure your AI agent's MCP client to connect to:

https://your-instance.com/mcp
Authentication: Pass your API key as a Bearer token in the Authorization header, just like the REST API.

Available Tools

Gnoll exposes the following MCP tool groups:

Issue Tools

ToolDescription
list_issuesList issues with filters (status, type, priority, assignee)
get_issueGet full issue details
create_issueCreate a new issue
update_issueUpdate issue fields
close_issueClose an issue
reopen_issueReopen a closed issue
move_issueMove an issue to another project
get_issue_historyView change history

Comment Tools

ToolDescription
list_commentsList comments on an issue
add_commentAdd a comment to an issue
delete_commentRemove a comment

Dependency Tools

ToolDescription
add_dependencyCreate a blocking relationship
remove_dependencyRemove a dependency
get_blocked_byList what blocks an issue
get_blocksList what an issue blocks

Search Tools

ToolDescription
search_issuesFull-text search across issues

Label Tools

ToolDescription
list_labelsList available labels (with category filter)
list_label_categoriesList distinct categories
create_labelCreate a new label
get_issue_labelsGet labels on an issue

Project Tools

ToolDescription
list_projectsList accessible projects
get_projectGet project details

Dashboard Tools

ToolDescription
get_dashboardGet project statistics and metrics

Event Tools

ToolDescription
list_eventsList recent activity events

Workflow Tools

ToolDescription
list_moleculesList workflow molecules
get_moleculeGet molecule detail with waves
create_moleculeCreate a new molecule

Bulk Operation Tools

ToolDescription
bulk_close_issuesClose multiple issues
bulk_reopen_issuesReopen multiple issues
bulk_set_statusSet status on multiple issues
bulk_assign_issuesAssign multiple issues
bulk_set_prioritySet priority on multiple issues
bulk_set_labelsSet labels on multiple issues
bulk_delete_issuesDelete multiple issues

Duplicate Tools

ToolDescription
scan_duplicatesScan for potential duplicate issues
mark_duplicateMark an issue as a duplicate

Automation Rule Tools

ToolDescription
list_automation_rulesList configured automation rules
create_automation_ruleCreate a new automation rule

Issue Template Tools

ToolDescription
list_issue_templatesList available templates
get_issue_templateGet template details
create_issue_templateCreate a new template
instantiate_issue_templateCreate an issue from a template with variable substitution
delete_issue_templateDelete a template

Gate Tools

ToolDescription
list_gatesList quality gates for the project
create_gateCreate a new quality gate
check_gateCheck if an issue passes a gate

GitHub Sync Tools

ToolDescription
configure_github_syncSet up GitHub sync for the current project
trigger_github_syncTrigger a manual sync with GitHub
get_github_sync_statusCheck sync status and linked issue count

Compaction Tools

ToolDescription
analyze_compactionFind compaction candidates by tier
compact_issuesCompact specific closed issues
restore_compacted_issueRestore original description

Import / Export Tools

ToolDescription
import_csvImport issues from CSV content (auto-detects GitHub/Linear format)
detect_csv_formatDetect CSV format from headers

Custom Status Tools

ToolDescription
list_custom_statusesList custom statuses
create_custom_statusCreate a new custom status

External Reference Tools

ToolDescription
list_external_referencesList external refs on an issue
add_external_referenceAdd a URL/PR/commit reference
remove_external_referenceRemove a reference

Example: Claude Code Integration

To use Gnoll as an MCP server with Claude Code, add it to your MCP configuration:

{
  "mcpServers": {
    "gnoll": {
      "url": "https://your-instance.com/mcp",
      "headers": {
        "Authorization": "Bearer gkey_your_key_here",
        "Cookie": "ProjectId=your_project_id"
      }
    }
  }
}

Once connected, the AI agent can use natural language to interact with your issues: