main.go 🔗
@@ -15,10 +15,16 @@ import (
"github.com/mark3labs/mcp-go/server"
)
+// Area represents a Lunatask area with its name and ID
+type Area struct {
+ Name string `toml:"name"`
+ ID string `toml:"id"`
+}
+
// Config holds the application's configuration loaded from TOML
type Config struct {
AccessToken string `toml:"access_token"`
- AreaID string `toml:"area_id"`
+ Areas []Area `toml:"areas"`
}