Skip to content

Commit a5bab91

Browse files
committed
fix lint
1 parent 3588e63 commit a5bab91

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

internal/ghmcp/server.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ type MCPServerConfig struct {
5757
Logger *slog.Logger
5858
}
5959

60-
const stdioServerLogPrefix = "stdioserver"
61-
6260
func NewMCPServer(cfg MCPServerConfig) (*mcp.Server, error) {
6361
apiHost, err := parseAPIHost(cfg.Host)
6462
if err != nil {

pkg/github/tools.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func GetDefaultToolsetIDs() []string {
159159
}
160160
}
161161

162-
func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetGQLClientFn, getRawClient raw.GetRawClientFn, t translations.TranslationHelperFunc, contentWindowSize int, flags FeatureFlags) *toolsets.ToolsetGroup {
162+
func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetGQLClientFn, _ raw.GetRawClientFn, t translations.TranslationHelperFunc, contentWindowSize int, flags FeatureFlags) *toolsets.ToolsetGroup {
163163
tsg := toolsets.NewToolsetGroup(readOnly)
164164

165165
// Define all available features with their default state (disabled)
@@ -382,7 +382,7 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
382382
}
383383

384384
// InitDynamicToolset creates a dynamic toolset that can be used to enable other toolsets, and so requires the server and toolset group as arguments
385-
func InitDynamicToolset(s *mcp.Server, tsg *toolsets.ToolsetGroup, t translations.TranslationHelperFunc) *toolsets.Toolset {
385+
func InitDynamicToolset(_ *mcp.Server, tsg *toolsets.ToolsetGroup, t translations.TranslationHelperFunc) *toolsets.Toolset {
386386
// Create a new dynamic toolset
387387
// Need to add the dynamic toolset last so it can be used to enable other toolsets
388388
dynamicToolSelection := toolsets.NewToolset(ToolsetMetadataDynamic.ID, ToolsetMetadataDynamic.Description).

0 commit comments

Comments
 (0)