summaryrefslogtreecommitdiff
path: root/internal/hexaimcp/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/hexaimcp/run.go')
-rw-r--r--internal/hexaimcp/run.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/hexaimcp/run.go b/internal/hexaimcp/run.go
index 23faa08..b6fed8c 100644
--- a/internal/hexaimcp/run.go
+++ b/internal/hexaimcp/run.go
@@ -26,11 +26,11 @@ type ServerFactory func(
w io.Writer,
logger *log.Logger,
store promptstore.PromptStore,
- syncer *slashcommands.Syncer,
+ syncer mcp.SlashCommandSyncer,
) ServerRunner
// defaultServerFactory is the production server factory.
-func defaultServerFactory(r io.Reader, w io.Writer, logger *log.Logger, store promptstore.PromptStore, syncer *slashcommands.Syncer) ServerRunner {
+func defaultServerFactory(r io.Reader, w io.Writer, logger *log.Logger, store promptstore.PromptStore, syncer mcp.SlashCommandSyncer) ServerRunner {
return mcp.NewServer(r, w, logger, store, syncer)
}