mcp

v0.2.0
@sudocode-ai/mcp Checked 2 days ago Published 8 months ago

MCP 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.

ParameterTypeDescription
archivedbooleanInclude archived issues. Defaults to false (excludes archived issues from results)
limitnumberMaximum number of results to return. Defaults to 50.
prioritynumberFilter by priority level where 0=highest priority and 4=lowest priority
searchstringSearch text - matches against issue titles and descriptions (case-insensitive)
statusstringFilter 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.

ParameterTypeDescription
issue_id *stringIssue 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.

ParameterTypeDescription
archivedbooleanSet to true to archive completed/obsolete issues.
descriptionstringDetailed description of the work to be done. Supports markdown and inline references using [[id]] syntax.
issue_idstringIssue ID in format "i-xxxx". Omit to create new issue (auto-generates ID). Provide to update existing issue.
parentstringParent issue ID for hierarchical organization.
prioritynumberPriority level: 0 (highest/urgent) to 4 (lowest/nice-to-have).
statusstringWorkflow status.
tagsarrayArray of tag strings for categorization.
titlestringConcise 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.

ParameterTypeDescription
limitnumberMaximum number of results to return. Defaults to 50.
searchstringSearch 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.

ParameterTypeDescription
spec_id *stringSpec 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.

ParameterTypeDescription
descriptionstringFull specification content in markdown format.
parentstringParent spec ID for hierarchical organization.
prioritynumberPriority level: 0 (highest) to 4 (lowest).
spec_idstringSpec ID in format "s-xxxx". Omit to create new spec (auto-generates hash-based ID).
tagsarrayArray of tag strings for categorization.
titlestringDescriptive spec title. Required when creating.

add_reference

Insert an Obsidian-style [[ID]] reference into spec or issue markdown content.

ParameterTypeDescription
entity_id *stringEntity ID where the reference will be inserted.
reference_id *stringEntity ID being referenced.
display_textstringOptional display text for the reference.
formatstringHow to insert: 'inline' or on 'newline'.
linenumberLine number where reference should be inserted.
relationship_typestringOptional relationship type.
textstringText 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.

ParameterTypeDescription
to_id *stringTarget ID receiving the feedback (spec or issue).
contentstringFeedback content in markdown.
issue_idstringIssue ID that's providing the feedback.
linenumberLine number to anchor feedback.
textstringText to anchor feedback to.
typestringFeedback type.