feat: add MCP endpoint exposing calendar tools over Streamable HTTP

Adds a POST /mcp endpoint (github.com/modelcontextprotocol/go-sdk) with
three tools mirroring the existing /calendar logic: get_calendar_today,
get_calendar_for_date and get_holidays. Bumps go.mod to Go 1.25 (required
by the SDK) and vendors the new dependencies. Also fixes an unanchored
.gitignore rule ("domogeek") that was silently excluding all untracked
files under cmd/domogeek/.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu8wwahgecuCGfesTKCfEd
This commit is contained in:
2026-09-05 10:53:31 +02:00
co-authored by Claude Sonnet 5
parent e30c25b198
commit e5468ef654
553 changed files with 88442 additions and 12995 deletions
+47 -3
View File
@@ -27,12 +27,27 @@ github.com/golang/protobuf/ptypes
github.com/golang/protobuf/ptypes/any
github.com/golang/protobuf/ptypes/duration
github.com/golang/protobuf/ptypes/timestamp
# github.com/google/jsonschema-go v0.4.3
## explicit; go 1.23.0
github.com/google/jsonschema-go/jsonschema
# github.com/hellofresh/health-go/v4 v4.5.0
## explicit; go 1.15
github.com/hellofresh/health-go/v4
# github.com/matttproud/golang_protobuf_extensions v1.0.1
## explicit
github.com/matttproud/golang_protobuf_extensions/pbutil
# github.com/modelcontextprotocol/go-sdk v1.7.0
## explicit; go 1.25.0
github.com/modelcontextprotocol/go-sdk/auth
github.com/modelcontextprotocol/go-sdk/internal/authutil
github.com/modelcontextprotocol/go-sdk/internal/json
github.com/modelcontextprotocol/go-sdk/internal/jsonrpc2
github.com/modelcontextprotocol/go-sdk/internal/mcpgodebug
github.com/modelcontextprotocol/go-sdk/internal/util
github.com/modelcontextprotocol/go-sdk/internal/xcontext
github.com/modelcontextprotocol/go-sdk/jsonrpc
github.com/modelcontextprotocol/go-sdk/mcp
github.com/modelcontextprotocol/go-sdk/oauthex
# github.com/prometheus/client_golang v1.12.1
## explicit; go 1.13
github.com/prometheus/client_golang/prometheus
@@ -52,6 +67,25 @@ github.com/prometheus/common/model
github.com/prometheus/procfs
github.com/prometheus/procfs/internal/fs
github.com/prometheus/procfs/internal/util
# github.com/segmentio/asm v1.1.3
## explicit; go 1.17
github.com/segmentio/asm/ascii
github.com/segmentio/asm/base64
github.com/segmentio/asm/cpu
github.com/segmentio/asm/cpu/arm
github.com/segmentio/asm/cpu/arm64
github.com/segmentio/asm/cpu/cpuid
github.com/segmentio/asm/cpu/x86
github.com/segmentio/asm/internal/unsafebytes
github.com/segmentio/asm/keyset
# github.com/segmentio/encoding v0.5.4
## explicit; go 1.23
github.com/segmentio/encoding/ascii
github.com/segmentio/encoding/iso8601
github.com/segmentio/encoding/json
# github.com/yosida95/uritemplate/v3 v3.0.2
## explicit; go 1.14
github.com/yosida95/uritemplate/v3
# go.opentelemetry.io/otel v1.0.0
## explicit; go 1.15
go.opentelemetry.io/otel/attribute
@@ -74,11 +108,21 @@ go.uber.org/zap/internal/bufferpool
go.uber.org/zap/internal/color
go.uber.org/zap/internal/exit
go.uber.org/zap/zapcore
# golang.org/x/sys v0.0.0-20220114195835-da31bd327af9
## explicit; go 1.17
golang.org/x/sys/internal/unsafeheader
# golang.org/x/oauth2 v0.35.0
## explicit; go 1.24.0
golang.org/x/oauth2
golang.org/x/oauth2/internal
# golang.org/x/sync v0.20.0
## explicit; go 1.25.0
golang.org/x/sync/errgroup
# golang.org/x/sys v0.41.0
## explicit; go 1.24.0
golang.org/x/sys/cpu
golang.org/x/sys/unix
golang.org/x/sys/windows
# golang.org/x/time v0.15.0
## explicit; go 1.25.0
golang.org/x/time/rate
# google.golang.org/protobuf v1.26.0
## explicit; go 1.9
google.golang.org/protobuf/encoding/prototext