Documentation
¶
Overview ¶
Package mcp provides MCP server integration for Aha Studio using OmniSkill.
Index ¶
- func RunServer(ctx context.Context, opts *ServerOptions) error
- type AhaSkill
- type Config
- type ServerOptions
- type ToolHandlers
- func (h *ToolHandlers) AddFeatureComment(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) AddIdeaComment(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) AssignFeatureRelease(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) AssignUserToFeature(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) BrowserCreateTemplate(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ChangeFeatureStatus(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) CreateEpic(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) CreateFeature(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) CreateGoal(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) CreateInitiative(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) CreateProduct(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) CreateRequirement(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) CreateStrategicModel(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) DeleteComment(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) DeleteRequirement(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) DescribeAQL(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetComment(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetCurrentUser(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetEpic(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetFeature(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetGoal(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetIdea(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetInitiative(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetKeyResult(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetPersona(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetRelease(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetRequirement(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetStrategicModel(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetTeam(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetUser(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GetWorkflow(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GraphFindPath(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GraphInitiativeImpact(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GraphQuery(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GraphReleaseDeps(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GraphSearch(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) GraphSync(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) Init(ctx context.Context) error
- func (h *ToolHandlers) ListCustomFieldDefinitions(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListCustomFieldOptions(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListEpicComments(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListEpics(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListFeatureComments(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListFeatureRequirements(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListFeatures(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListGoals(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListIdeaComments(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListIdeas(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListInitiatives(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListPredefinedTemplates(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListProductEpics(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListProductGoals(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListProductInitiatives(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListProductStrategicModels(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListProducts(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListReleaseFeatures(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListReleases(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListStrategicModels(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListUsers(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) ListWorkflowStatuses(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) Query(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) SearchDocuments(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) UpdateComment(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) UpdateEpic(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) UpdateFeature(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) UpdateGoal(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) UpdateIdea(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) UpdateInitiative(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) UpdateProduct(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) UpdateRelease(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) UpdateRequirement(ctx context.Context, params map[string]any) (any, error)
- func (h *ToolHandlers) UpdateStrategicModel(ctx context.Context, params map[string]any) (any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AhaSkill ¶
AhaSkill implements the skill.Skill interface for Aha.io operations.
func NewAhaSkill ¶
NewAhaSkill creates a new AhaSkill with the given configuration.
func (*AhaSkill) Description ¶
Description returns a human-readable description of the skill.
type Config ¶
type Config struct {
// Subdomain is the Aha.io account subdomain.
Subdomain string
// APIKey is the Aha.io API key.
APIKey string
// DefaultProduct is the default product ID for queries.
DefaultProduct string
// BrowserEmail is the email for browser automation login.
BrowserEmail string
// BrowserPassword is the password for browser automation login.
BrowserPassword string
}
Config holds configuration for the Aha MCP skill.
func ConfigFromEnv ¶
ConfigFromEnv creates a Config from environment variables.
type ServerOptions ¶
type ServerOptions struct {
// Transport is the transport mode: "stdio" or "http"
Transport string
// HTTPAddr is the HTTP server address (for http transport)
HTTPAddr string
// Config is the Aha configuration
Config *Config
}
ServerOptions configures the MCP server.
type ToolHandlers ¶
type ToolHandlers struct {
// contains filtered or unexported fields
}
ToolHandlers provides handler functions for Aha MCP tools.
func NewToolHandlers ¶
func NewToolHandlers(cfg *Config) *ToolHandlers
NewToolHandlers creates a new ToolHandlers instance.
func (*ToolHandlers) AddFeatureComment ¶
AddFeatureComment adds a comment to a feature.
func (*ToolHandlers) AddIdeaComment ¶
AddIdeaComment adds a comment to an idea.
func (*ToolHandlers) AssignFeatureRelease ¶
func (h *ToolHandlers) AssignFeatureRelease(ctx context.Context, params map[string]any) (any, error)
AssignFeatureRelease assigns a feature to a release.
func (*ToolHandlers) AssignUserToFeature ¶
AssignUserToFeature assigns a user to a feature.
func (*ToolHandlers) BrowserCreateTemplate ¶
func (h *ToolHandlers) BrowserCreateTemplate(ctx context.Context, params map[string]any) (any, error)
BrowserCreateTemplate creates a strategic model template via browser automation.
func (*ToolHandlers) ChangeFeatureStatus ¶
ChangeFeatureStatus changes the workflow status of a feature.
func (*ToolHandlers) CreateEpic ¶ added in v0.10.0
CreateEpic creates a new epic in a release.
func (*ToolHandlers) CreateFeature ¶
CreateFeature creates a new feature.
func (*ToolHandlers) CreateGoal ¶ added in v0.10.0
CreateGoal creates a new goal in a product.
func (*ToolHandlers) CreateInitiative ¶ added in v0.10.0
CreateInitiative creates a new initiative in a product.
func (*ToolHandlers) CreateProduct ¶ added in v0.10.0
CreateProduct creates a new product.
func (*ToolHandlers) CreateRequirement ¶ added in v0.10.0
CreateRequirement creates a new requirement for a feature.
func (*ToolHandlers) CreateStrategicModel ¶ added in v0.10.0
func (h *ToolHandlers) CreateStrategicModel(ctx context.Context, params map[string]any) (any, error)
CreateStrategicModel creates a new strategic model.
func (*ToolHandlers) DeleteComment ¶ added in v0.10.0
DeleteComment deletes a comment.
func (*ToolHandlers) DeleteRequirement ¶ added in v0.10.0
DeleteRequirement deletes a requirement.
func (*ToolHandlers) DescribeAQL ¶
DescribeAQL returns AQL syntax help.
func (*ToolHandlers) GetComment ¶
GetComment retrieves a comment by ID.
func (*ToolHandlers) GetCurrentUser ¶ added in v0.10.0
GetCurrentUser returns the authenticated user.
func (*ToolHandlers) GetFeature ¶
GetFeature retrieves a feature by reference number.
func (*ToolHandlers) GetInitiative ¶
GetInitiative retrieves an initiative by reference number.
func (*ToolHandlers) GetKeyResult ¶
GetKeyResult retrieves a key result by ID.
func (*ToolHandlers) GetPersona ¶
GetPersona retrieves a persona by ID.
func (*ToolHandlers) GetRelease ¶
GetRelease retrieves a release by reference number.
func (*ToolHandlers) GetRequirement ¶
GetRequirement retrieves a requirement by ID.
func (*ToolHandlers) GetStrategicModel ¶ added in v0.10.0
GetStrategicModel retrieves a strategic model by ID.
func (*ToolHandlers) GetWorkflow ¶
GetWorkflow retrieves a workflow by ID.
func (*ToolHandlers) GraphFindPath ¶
GraphFindPath finds the shortest path between two entities.
func (*ToolHandlers) GraphInitiativeImpact ¶
func (h *ToolHandlers) GraphInitiativeImpact(ctx context.Context, params map[string]any) (any, error)
GraphInitiativeImpact returns the impact analysis of an initiative.
func (*ToolHandlers) GraphQuery ¶
GraphQuery executes a Cypher query against Neo4j.
func (*ToolHandlers) GraphReleaseDeps ¶
GraphReleaseDeps returns feature dependencies for a release.
func (*ToolHandlers) GraphSearch ¶
GraphSearch performs full-text search across graph entities.
func (*ToolHandlers) Init ¶
func (h *ToolHandlers) Init(ctx context.Context) error
Init initializes the handlers with an Aha client.
func (*ToolHandlers) ListCustomFieldDefinitions ¶ added in v0.10.0
func (h *ToolHandlers) ListCustomFieldDefinitions(ctx context.Context, params map[string]any) (any, error)
ListCustomFieldDefinitions lists all custom field definitions, optionally filtered by product.
func (*ToolHandlers) ListCustomFieldOptions ¶ added in v0.10.0
func (h *ToolHandlers) ListCustomFieldOptions(ctx context.Context, params map[string]any) (any, error)
ListCustomFieldOptions lists options for a select custom field.
func (*ToolHandlers) ListEpicComments ¶ added in v0.10.0
ListEpicComments lists comments for an epic.
func (*ToolHandlers) ListFeatureComments ¶ added in v0.10.0
ListFeatureComments lists comments for a feature.
func (*ToolHandlers) ListFeatureRequirements ¶ added in v0.10.0
func (h *ToolHandlers) ListFeatureRequirements(ctx context.Context, params map[string]any) (any, error)
ListFeatureRequirements lists requirements for a specific feature.
func (*ToolHandlers) ListFeatures ¶ added in v0.10.0
ListFeatures lists features with optional filtering.
func (*ToolHandlers) ListIdeaComments ¶ added in v0.10.0
ListIdeaComments lists comments for an idea.
func (*ToolHandlers) ListInitiatives ¶ added in v0.10.0
ListInitiatives lists initiatives with optional filtering.
func (*ToolHandlers) ListPredefinedTemplates ¶
func (h *ToolHandlers) ListPredefinedTemplates(ctx context.Context, params map[string]any) (any, error)
ListPredefinedTemplates returns all available strategic model templates.
func (*ToolHandlers) ListProductEpics ¶ added in v0.10.0
ListProductEpics lists epics for a specific product.
func (*ToolHandlers) ListProductGoals ¶ added in v0.10.0
ListProductGoals lists goals for a specific product.
func (*ToolHandlers) ListProductInitiatives ¶ added in v0.10.0
func (h *ToolHandlers) ListProductInitiatives(ctx context.Context, params map[string]any) (any, error)
ListProductInitiatives lists initiatives for a specific product.
func (*ToolHandlers) ListProductStrategicModels ¶ added in v0.10.0
func (h *ToolHandlers) ListProductStrategicModels(ctx context.Context, params map[string]any) (any, error)
ListProductStrategicModels lists strategic models for a product.
func (*ToolHandlers) ListProducts ¶
ListProducts lists all accessible Aha.io products.
func (*ToolHandlers) ListReleaseFeatures ¶ added in v0.10.0
ListReleaseFeatures lists features for a specific release.
func (*ToolHandlers) ListReleases ¶
ListReleases lists all releases for a product.
func (*ToolHandlers) ListStrategicModels ¶ added in v0.10.0
ListStrategicModels lists strategic models.
func (*ToolHandlers) ListWorkflowStatuses ¶
func (h *ToolHandlers) ListWorkflowStatuses(ctx context.Context, params map[string]any) (any, error)
ListWorkflowStatuses lists all workflow statuses for a product.
func (*ToolHandlers) SearchDocuments ¶
SearchDocuments searches for Aha! documents using GraphQL.
func (*ToolHandlers) UpdateComment ¶ added in v0.10.0
UpdateComment updates an existing comment.
func (*ToolHandlers) UpdateEpic ¶ added in v0.10.0
UpdateEpic updates an epic's fields.
func (*ToolHandlers) UpdateFeature ¶ added in v0.10.0
UpdateFeature updates a feature's fields (general update tool).
func (*ToolHandlers) UpdateGoal ¶ added in v0.10.0
UpdateGoal updates a goal's fields.
func (*ToolHandlers) UpdateIdea ¶ added in v0.10.0
UpdateIdea updates an idea's fields.
func (*ToolHandlers) UpdateInitiative ¶ added in v0.10.0
UpdateInitiative updates an initiative's fields.
func (*ToolHandlers) UpdateProduct ¶ added in v0.10.0
UpdateProduct updates an existing product.
func (*ToolHandlers) UpdateRelease ¶ added in v0.10.0
UpdateRelease updates a release's fields.
func (*ToolHandlers) UpdateRequirement ¶ added in v0.10.0
UpdateRequirement updates a requirement's fields.
func (*ToolHandlers) UpdateStrategicModel ¶ added in v0.10.0
func (h *ToolHandlers) UpdateStrategicModel(ctx context.Context, params map[string]any) (any, error)
UpdateStrategicModel updates a strategic model.