Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
service.go663 B
package search import ( "go.uber.org/fx" "github.com/Southclaws/storyden/app/services/search/searcher" "github.com/Southclaws/storyden/app/services/search/simplesearch" "github.com/Southclaws/storyden/app/services/semdex" "github.com/Southclaws/storyden/internal/config" ) func New( cfg config.Config, simpleSearcher *simplesearch.ParallelSearcher, semdexSearcher semdex.Searcher, ) searcher.Searcher { switch cfg.SemdexProvider { case "chromem", "weaviate", "pinecone": return semdexSearcher default: return simpleSearcher } } func Build() fx.Option { return fx.Options( fx.Provide( New, simplesearch.NewParallelSearcher, ), ) }

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