Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFeatureTool ¶
func GetIdeaTool ¶
func ListenAndServe ¶
Types ¶
type GetFeatureParams ¶
type GetFeatureParams struct {
FeatureID string `json:"feature_id" description:"Feature ID to get"`
}
type GetIdeaParams ¶
type GetIdeaParams struct {
IdeaID string `json:"idea_id" description:"Idea ID to get"`
}
type Options ¶
type Options struct { HTTPAddr string `short:"h" long:"http" description:"HTTP address: if set, use streamable HTTP at this address, instead of stdin/stdout"` AHASubdomain string AHAAPIKey string }
func NewOptionsEnv ¶
func (*Options) CheckCredentials ¶
func (*Options) ReadEnvDefaults ¶
func (opts *Options) ReadEnvDefaults()
type ToolsClient ¶
type ToolsClient struct {
// contains filtered or unexported fields
}
func NewToolsClient ¶
func NewToolsClient(ahaSubdomain, ahaAPIKey string) (*ToolsClient, error)
func (*ToolsClient) AddTools ¶
func (tc *ToolsClient) AddTools(svr *mcp.Server)
func (*ToolsClient) GetFeature ¶
func (s *ToolsClient) GetFeature(ctx context.Context, session *mcp.ServerSession, params *mcp.CallToolParamsFor[GetFeatureParams]) (*mcp.CallToolResultFor[any], error)
func (*ToolsClient) GetIdea ¶
func (s *ToolsClient) GetIdea(ctx context.Context, session *mcp.ServerSession, params *mcp.CallToolParamsFor[GetIdeaParams]) (*mcp.CallToolResultFor[any], error)
Click to show internal directories.
Click to hide internal directories.