Skip to content

Commit 3fedaa1

Browse files
dependabot[bot]kop
andauthored
deps(gomod): bump the go-deps group with 4 updates (#3)
Bumps the go-deps group with 4 updates: [github.com/firebolt-db/firebolt-go-sdk](https://github.com/firebolt-db/firebolt-go-sdk), [github.com/mark3labs/mcp-go](https://github.com/mark3labs/mcp-go), [golang.org/x/oauth2](https://github.com/golang/oauth2) and [golang.org/x/sync](https://github.com/golang/sync). Updates `github.com/firebolt-db/firebolt-go-sdk` from 1.6.2 to 1.7.1 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/firebolt-db/firebolt-go-sdk/commit/0329c012b3b86333ac6f2ce74428fd19521d9fda"><code>0329c01</code></a> Automatic version bump to v1.7.1</li> <li><a href="https://github.com/firebolt-db/firebolt-go-sdk/commit/2bb91e1c52c5ca7855479a9add42ba900e74a189"><code>2bb91e1</code></a> fix(FIR-44939): message parsing for the last message in JSON Lines (<a href="https://redirect.github.com/firebolt-db/firebolt-go-sdk/issues/140">#140</a>)</li> <li><a href="https://github.com/firebolt-db/firebolt-go-sdk/commit/51607583e084f68a02ee04d18bfb4176ab826c2e"><code>5160758</code></a> Automatic version bump to v1.7.0</li> <li><a href="https://github.com/firebolt-db/firebolt-go-sdk/commit/34698237599e006dc8d963a74e4aad146580d64f"><code>3469823</code></a> feat: FIR-44820 add typed errors to go sdk (<a href="https://redirect.github.com/firebolt-db/firebolt-go-sdk/issues/138">#138</a>)</li> <li><a href="https://github.com/firebolt-db/firebolt-go-sdk/commit/6edc386e9264d6ed56cdf8e05f7026fbc4bdfffd"><code>6edc386</code></a> fix: FIR-44362 ensure all reported ScanTypes are scannable (<a href="https://redirect.github.com/firebolt-db/firebolt-go-sdk/issues/137">#137</a>)</li> <li>See full diff in <a href="https://github.com/firebolt-db/firebolt-go-sdk/compare/v1.6.2...v1.7.1">compare view</a></li> </ul> </details> <br /> Updates `github.com/mark3labs/mcp-go` from 0.17.0 to 0.18.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mark3labs/mcp-go/releases">github.com/mark3labs/mcp-go's releases</a>.</em></p> <blockquote> <h2>Release v0.18.0</h2> <h2>What's Changed</h2> <ul> <li>feat: add NewToolResultError by <a href="https://github.com/daimatz"><code>@​daimatz</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/87">mark3labs/mcp-go#87</a></li> <li>refactor(stdio): improve stdio server message handling by <a href="https://github.com/winterfx"><code>@​winterfx</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/73">mark3labs/mcp-go#73</a></li> <li>Add Stderr() Method to StdioMCPClient by <a href="https://github.com/mashiike"><code>@​mashiike</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/72">mark3labs/mcp-go#72</a></li> <li>fix java mcp message endpoint by <a href="https://github.com/a67793581"><code>@​a67793581</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/75">mark3labs/mcp-go#75</a></li> <li>simplify required field handling in inputSchema by <a href="https://github.com/yikakia"><code>@​yikakia</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/82">mark3labs/mcp-go#82</a></li> <li>make context available in hooks, add OnRegisterSession hook by <a href="https://github.com/zahmadsaleem"><code>@​zahmadsaleem</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/92">mark3labs/mcp-go#92</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/daimatz"><code>@​daimatz</code></a> made their first contribution in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/87">mark3labs/mcp-go#87</a></li> <li><a href="https://github.com/winterfx"><code>@​winterfx</code></a> made their first contribution in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/73">mark3labs/mcp-go#73</a></li> <li><a href="https://github.com/mashiike"><code>@​mashiike</code></a> made their first contribution in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/72">mark3labs/mcp-go#72</a></li> <li><a href="https://github.com/yikakia"><code>@​yikakia</code></a> made their first contribution in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/82">mark3labs/mcp-go#82</a></li> <li><a href="https://github.com/zahmadsaleem"><code>@​zahmadsaleem</code></a> made their first contribution in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/92">mark3labs/mcp-go#92</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/mark3labs/mcp-go/compare/v0.17.0...v0.18.0">https://github.com/mark3labs/mcp-go/compare/v0.17.0...v0.18.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mark3labs/mcp-go/commit/a0e968a752722d87063eb36ea0d55938e752f6dd"><code>a0e968a</code></a> feat: add context to hooks (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/92">#92</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/607d6c29bb8f56bc30e3154e99e58da1db78fcb9"><code>607d6c2</code></a> simplify required field handling in inputSchema (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/82">#82</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/6d840a447783c1d342b673d8d06069b96b362a1b"><code>6d840a4</code></a> fix java mcp message endpoint (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/75">#75</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/051cda5533c70021240e7eae61c0a379511abda7"><code>051cda5</code></a> Add Stderr() Method to StdioMCPClient (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/72">#72</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/2ea0c97e4a15b5a6bf1c354cd3734a6ed8fbb194"><code>2ea0c97</code></a> refactor(stdio): improve stdio server message handling (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/73">#73</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/ec9e8a21fee1bbb7d392a14c1cb2463398eaab7b"><code>ec9e8a2</code></a> add NewToolResultError (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/87">#87</a>)</li> <li>See full diff in <a href="https://github.com/mark3labs/mcp-go/compare/v0.17.0...v0.18.0">compare view</a></li> </ul> </details> <br /> Updates `golang.org/x/oauth2` from 0.28.0 to 0.29.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/oauth2/commit/65c15a35147ccc5127e9f8cdf2e07837596e56b4"><code>65c15a3</code></a> oauth2: remove extra period</li> <li><a href="https://github.com/golang/oauth2/commit/ce56909505b351a755ad0bc294c5ee01ed0ea050"><code>ce56909</code></a> jws: improve fix for CVE-2025-22868</li> <li>See full diff in <a href="https://github.com/golang/oauth2/compare/v0.28.0...v0.29.0">compare view</a></li> </ul> </details> <br /> Updates `golang.org/x/sync` from 0.12.0 to 0.13.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/sync/commit/396f3a06ea2a49eb410f12e244c0dd77095d0de9"><code>396f3a0</code></a> errgroup: document calling Go before Wait</li> <li>See full diff in <a href="https://github.com/golang/sync/compare/v0.12.0...v0.13.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ivan Koptiev <[email protected]>
1 parent b8d0893 commit 3fedaa1

File tree

4 files changed

+21
-19
lines changed

4 files changed

+21
-19
lines changed

.github/workflows/snapshot.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
-count=1 \
2929
-vet=all \
3030
-timeout 3m \
31-
{{.CLI_ARGS}} \
3231
-coverpkg=./... \
3332
-covermode=atomic \
3433
-coverprofile=coverage.out \

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ go 1.24.1
44

55
require (
66
github.com/JohannesKaufmann/html-to-markdown/v2 v2.3.1
7-
github.com/firebolt-db/firebolt-go-sdk v1.6.2
7+
github.com/firebolt-db/firebolt-go-sdk v1.7.1
88
github.com/gocolly/colly/v2 v2.2.0
9-
github.com/mark3labs/mcp-go v0.17.0
9+
github.com/mark3labs/mcp-go v0.18.0
1010
github.com/neilotoole/slogt v1.1.0
1111
github.com/pkg/errors v0.9.1
1212
github.com/stretchr/testify v1.10.0
1313
github.com/urfave/cli/v3 v3.1.1
14-
golang.org/x/oauth2 v0.28.0
15-
golang.org/x/sync v0.12.0
14+
golang.org/x/oauth2 v0.29.0
15+
golang.org/x/sync v0.13.0
1616
)
1717

1818
require (

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8Yc
4545
github.com/edsrzf/mmap-go v0.0.0-20170320065105-0bce6a688712/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M=
4646
github.com/elastic/go-elasticsearch/v6 v6.8.5/go.mod h1:UwaDJsD3rWLM5rKNFzv9hgox93HoX8utj1kxD9aFUcI=
4747
github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo7R71Vk1u8bnjau5yw4=
48-
github.com/firebolt-db/firebolt-go-sdk v1.6.2 h1:gq6Ob/q9TU4/mMqj3FzLndMIAZNHJSEYUfvgjIZ8kag=
49-
github.com/firebolt-db/firebolt-go-sdk v1.6.2/go.mod h1:jes3f/uon4qPDx94SM4cwnVZy1/Sld4ermfS9G+LY9k=
48+
github.com/firebolt-db/firebolt-go-sdk v1.7.1 h1:aUmnHzfFUUuLLjc7PWaTWKKRFfrQq3ysxEtBtca/tG0=
49+
github.com/firebolt-db/firebolt-go-sdk v1.7.1/go.mod h1:jes3f/uon4qPDx94SM4cwnVZy1/Sld4ermfS9G+LY9k=
5050
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
5151
github.com/glendc/gopher-json v0.0.0-20170414221815-dc4743023d0c/go.mod h1:Gja1A+xZ9BoviGJNA2E9vFkPjjsl+CoJxSXiQM1UXtw=
5252
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
@@ -105,8 +105,8 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
105105
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
106106
github.com/ledisdb/ledisdb v0.0.0-20200510135210-d35789ec47e6/go.mod h1:n931TsDuKuq+uX4v1fulaMbA/7ZLLhjc85h7chZGBCQ=
107107
github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
108-
github.com/mark3labs/mcp-go v0.17.0 h1:5Ps6T7qXr7De/2QTqs9h6BKeZ/qdeUeGrgM5lPzi930=
109-
github.com/mark3labs/mcp-go v0.17.0/go.mod h1:KmJndYv7GIgcPVwEKJjNcbhVQ+hJGJhrCCB/9xITzpE=
108+
github.com/mark3labs/mcp-go v0.18.0 h1:YuhgIVjNlTG2ZOwmrkORWyPTp0dz1opPEqvsPtySXao=
109+
github.com/mark3labs/mcp-go v0.18.0/go.mod h1:KmJndYv7GIgcPVwEKJjNcbhVQ+hJGJhrCCB/9xITzpE=
110110
github.com/matishsiao/goInfo v0.0.0-20210923090445-da2e3fa8d45f h1:B0OD7nYl2FPQEVrw8g2uyc1lGEzNbvrKh7fspGZcbvY=
111111
github.com/matishsiao/goInfo v0.0.0-20210923090445-da2e3fa8d45f/go.mod h1:aEt7p9Rvh67BYApmZwNDPpgircTO2kgdmDUoF/1QmwA=
112112
github.com/mattn/go-sqlite3 v2.0.3+incompatible/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc=
@@ -216,8 +216,8 @@ golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
216216
golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k=
217217
golang.org/x/net v0.37.0 h1:1zLorHbz+LYj7MQlSf1+2tPIIgibq2eL5xkrGk6f+2c=
218218
golang.org/x/net v0.37.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
219-
golang.org/x/oauth2 v0.28.0 h1:CrgCKl8PPAVtLnU3c+EDw6x11699EWlsDeWNWKdIOkc=
220-
golang.org/x/oauth2 v0.28.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
219+
golang.org/x/oauth2 v0.29.0 h1:WdYw2tdTK1S8olAzWHdgeqfy+Mtm9XNhv/xJsY65d98=
220+
golang.org/x/oauth2 v0.29.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
221221
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
222222
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
223223
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -229,8 +229,8 @@ golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
229229
golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
230230
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
231231
golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
232-
golang.org/x/sync v0.12.0 h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw=
233-
golang.org/x/sync v0.12.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
232+
golang.org/x/sync v0.13.0 h1:AauUjRAJ9OSnvULf/ARrrVywoJDy0YS2AwQ98I37610=
233+
golang.org/x/sync v0.13.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
234234
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
235235
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
236236
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=

pkg/server/server.go

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,24 +75,27 @@ func NewServer(
7575

7676
// Configure logging hooks to track tool calls and errors
7777
hooks := &mcpserver.Hooks{}
78-
hooks.AddBeforeCallTool(func(id any, message *mcp.CallToolRequest) {
79-
logger.Debug(
78+
hooks.AddBeforeCallTool(func(ctx context.Context, id any, message *mcp.CallToolRequest) {
79+
logger.DebugContext(
80+
ctx,
8081
"received tool call request",
8182
slog.Any("id", id),
8283
slog.String("tool", message.Params.Name),
8384
slog.Any("arguments", message.Params.Arguments),
8485
)
8586
})
86-
hooks.AddAfterCallTool(func(id any, message *mcp.CallToolRequest, result *mcp.CallToolResult) {
87-
logger.Info(
87+
hooks.AddAfterCallTool(func(ctx context.Context, id any, message *mcp.CallToolRequest, result *mcp.CallToolResult) {
88+
logger.InfoContext(
89+
ctx,
8890
"tool call finished",
8991
slog.Any("id", id),
9092
slog.String("tool", message.Params.Name),
9193
slog.Any("any", result.Result),
9294
)
9395
})
94-
hooks.AddOnError(func(id any, method mcp.MCPMethod, message any, err error) {
95-
logger.Error(
96+
hooks.AddOnError(func(ctx context.Context, id any, method mcp.MCPMethod, message any, err error) {
97+
logger.ErrorContext(
98+
ctx,
9699
"error occurred",
97100
slog.Any("id", id),
98101
slog.String("method", string(method)),

0 commit comments

Comments
 (0)