Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
job.go740 B
package mention_job import ( "context" "log/slog" "go.uber.org/fx" "github.com/Southclaws/storyden/app/resources/message" "github.com/Southclaws/storyden/internal/infrastructure/pubsub" ) func runMentionConsumer( ctx context.Context, lc fx.Lifecycle, logger *slog.Logger, bus *pubsub.Bus, ic *mentionConsumer, ) { lc.Append(fx.StartHook(func(hctx context.Context) error { _, err := pubsub.Subscribe(hctx, bus, "mention_job.notify_mentions", func(ctx context.Context, evt *message.EventMemberMentioned) error { if err := ic.mention(ctx, evt.By, evt.Source, evt.Item); err != nil { logger.Error("failed to record mention", slog.String("error", err.Error())) return err } return nil }) return err })) }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Southclaws/storyden'

If you have feedback or need assistance with the MCP directory API, please join our Discord server