ahamcpserver

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2025 License: MIT Imports: 17 Imported by: 0

README

Aha! MCP Server

Build Status Lint Status Go Report Card Docs License

A Model Context Protocol server for Aha!.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFeatureTool

func GetFeatureTool() *mcp.Tool

func GetIdeaTool

func GetIdeaTool() *mcp.Tool

func ListenAndServe

func ListenAndServe(ctx context.Context, opts *Options)

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 NewOptionsEnv() (*Options, error)

func (*Options) CheckCredentials

func (opts *Options) CheckCredentials() error

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 (*ToolsClient) GetIdea

Directories

Path Synopsis
cmd
aha-mcp-server command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL