mcp
v0.2.0MCP server for sudocode, git-native context management for AI-assisted development
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ready
Shows you the current project state: what issues are ready to work on (no blockers), what's in progress, and what's blocked. Essential for understanding context before making any decisions about what to work on next.
list_issues
Search and filter issues. Use this when you need to find specific issues by status, priority, keyword, or when exploring what work exists in the project.
| Parameter | Type | Description |
|---|---|---|
archived | boolean | Include archived issues. Defaults to false (excludes archived issues from results) |
limit | number | Maximum number of results to return. Defaults to 50. |
priority | number | Filter by priority level where 0=highest priority and 4=lowest priority |
search | string | Search text - matches against issue titles and descriptions (case-insensitive) |
status | string | Filter by workflow status: 'open' (not started), 'in_progress' (currently working), 'blocked' (waiting on dependencies), 'closed' (completed) |
show_issue
Get full details about a specific issue. Use this to understand what the issue implements (which specs), what blocks it (dependencies), its current status, and related work. Essential for understanding context before starting implementation.
| Parameter | Type | Description |
|---|---|---|
issue_id * | string | Issue ID with format "i-xxxx" (e.g., "i-x7k9") |
upsert_issue
Create or update an issue (agent's actionable work item). **Issues implement specs** - use 'link' with type='implements' to connect issue to spec. **Before closing:** provide feedback on the spec using 'add_feedback' if this issue implements a spec. If issue_id is provided, updates the issue; otherwise creates a new one. To close an issue, set status='closed'. To archive an issue, set archived=true.
| Parameter | Type | Description |
|---|---|---|
archived | boolean | Set to true to archive completed/obsolete issues. |
description | string | Detailed description of the work to be done. Supports markdown and inline references using [[id]] syntax. |
issue_id | string | Issue ID in format "i-xxxx". Omit to create new issue (auto-generates ID). Provide to update existing issue. |
parent | string | Parent issue ID for hierarchical organization. |
priority | number | Priority level: 0 (highest/urgent) to 4 (lowest/nice-to-have). |
status | string | Workflow status. |
tags | array | Array of tag strings for categorization. |
title | string | Concise issue title describing the work (e.g., 'Implement OAuth login flow'). Required when creating, optional when updating. |
list_specs
Search and browse all specs in the project. Use this to find existing specifications by keyword, or to see what specs are available before creating new ones.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of results to return. Defaults to 50. |
search | string | Search text - matches against spec titles and descriptions (case-insensitive). |
show_spec
Get full details about a specific spec including its content, relationships, and all anchored feedback. Use this to understand requirements before implementing.
| Parameter | Type | Description |
|---|---|---|
spec_id * | string | Spec ID with format "s-xxxx" (e.g., "s-14sh"). |
upsert_spec
Create or update a spec (user's requirements/intent/context document). If spec_id is provided, updates the spec; otherwise creates a new one with a hash-based ID.
| Parameter | Type | Description |
|---|---|---|
description | string | Full specification content in markdown format. |
parent | string | Parent spec ID for hierarchical organization. |
priority | number | Priority level: 0 (highest) to 4 (lowest). |
spec_id | string | Spec ID in format "s-xxxx". Omit to create new spec (auto-generates hash-based ID). |
tags | array | Array of tag strings for categorization. |
title | string | Descriptive spec title. Required when creating. |
link
Create a relationship between specs and/or issues. Use this to establish the dependency graph and connect work to requirements. Most common: 'implements' (issue → spec) and 'blocks' (dependency ordering).
| Parameter | Type | Description |
|---|---|---|
from_id * | string | Source entity ID (format 'i-xxxx' or 's-xxxx'). |
to_id * | string | Target entity ID (format 'i-xxxx' or 's-xxxx'). |
type | string | Relationship type. |
add_reference
Insert an Obsidian-style [[ID]] reference into spec or issue markdown content.
| Parameter | Type | Description |
|---|---|---|
entity_id * | string | Entity ID where the reference will be inserted. |
reference_id * | string | Entity ID being referenced. |
display_text | string | Optional display text for the reference. |
format | string | How to insert: 'inline' or on 'newline'. |
line | number | Line number where reference should be inserted. |
relationship_type | string | Optional relationship type. |
text | string | Text substring to search for as insertion point. |
add_feedback
**REQUIRED when closing issues that implement specs.** Document implementation results by providing feedback on a spec or issue.
| Parameter | Type | Description |
|---|---|---|
to_id * | string | Target ID receiving the feedback (spec or issue). |
content | string | Feedback content in markdown. |
issue_id | string | Issue ID that's providing the feedback. |
line | number | Line number to anchor feedback. |
text | string | Text to anchor feedback to. |
type | string | Feedback type. |