Skip to content

MCP Server

⚠️ Experimental — tool handlers currently return stub data. Full implementation tracked in #28.

Rungu includes a built-in MCP (Model Context Protocol) server that lets AI agents query and manage feedback directly.

Setup

Add to your MCP configuration:

Claude Code (.claude/settings.json)

json
{
  "mcpServers": {
    "rungu": {
      "command": "rungu",
      "args": ["mcp", "--db", "/path/to/rungu.db"]
    }
  }
}

Cursor / Windsurf

json
{
  "mcpServers": {
    "rungu": {
      "command": "rungu",
      "args": ["mcp", "--db", "/path/to/rungu.db"]
    }
  }
}

Available Tools

ToolDescription
list_projectsList all feedback projects
get_projectGet project detail by slug
list_postsList posts with filters (status, category, sort)
get_postGet post detail with comments
create_postSubmit a new feedback post
update_post_statusChange post status (open → planned → done)
vote_postToggle vote on a post
search_postsFull-text search across posts
list_commentsGet comments for a post
add_commentAdd comment to a post
get_statsProject stats (total posts, by status, by category)
get_trendingTop voted posts in last 7 days

Example Usage

In Claude Code:

"Show me all open bug reports with the most votes"
→ calls list_posts(status=open, category=bug, sort=most_votes)

"Create a feature request for dark mode in the my-saas project"
→ calls create_post(project_slug=my-saas, title="Dark mode support", category=feature)

"What's trending this week?"
→ calls get_trending()

Transport

The MCP server uses stdio transport (stdin/stdout). No HTTP server needed — it runs as a subprocess of the AI agent.

No Auth Required

Since MCP runs as a local subprocess, no authentication is needed. The agent has direct access to the SQLite database.