Documentation
¶
Overview ¶
Package mcp implements the Model Context Protocol server for visionspec.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApproveArgs ¶
type ApproveArgs struct {
Project string `json:"project" jsonschema:"description=Project name"`
SpecType string `json:"spec_type" jsonschema:"description=Spec type"`
Approver string `json:"approver,omitempty" jsonschema:"description=Approver identifier"`
}
ApproveArgs contains approve command arguments.
type DraftArgs ¶
type DraftArgs struct {
Project string `json:"project" jsonschema:"description=Project name"`
SpecType string `json:"spec_type" jsonschema:"description=Spec type (mrd, prd, uxd)"`
}
DraftArgs contains draft operation arguments.
type ExportArgs ¶
type ExportArgs struct {
Project string `json:"project" jsonschema:"description=Project name"`
Target string `json:"target" jsonschema:"description=Target (speckit, gsd, gastown, gascity)"`
}
ExportArgs contains export command arguments.
type ProjectArgs ¶
type ProjectArgs struct {
Project string `json:"project" jsonschema:"description=Project name"`
}
ProjectArgs contains a project name argument.
type ProjectSpecArgs ¶
type ProjectSpecArgs struct {
Project string `json:"project" jsonschema:"description=Project name"`
SpecType string `json:"spec_type" jsonschema:"description=Spec type (mrd, prd, uxd, trd, etc.)"`
}
ProjectSpecArgs contains project and spec type arguments.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements the MCP server for visionspec.
type StartDraftArgs ¶
type StartDraftArgs struct {
Project string `json:"project" jsonschema:"description=Project name"`
SpecType string `json:"spec_type" jsonschema:"description=Spec type (mrd, prd, uxd)"`
}
StartDraftArgs contains start_draft arguments.
type UpdateDraftArgs ¶
type UpdateDraftArgs struct {
Project string `json:"project" jsonschema:"description=Project name"`
SpecType string `json:"spec_type" jsonschema:"description=Spec type (mrd, prd, uxd)"`
Content string `json:"content" jsonschema:"description=Updated draft content (full markdown document)"`
}
UpdateDraftArgs contains update_draft arguments.
Click to show internal directories.
Click to hide internal directories.