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
package object
import (
"context"
"io"
"go.uber.org/fx"
"github.com/Southclaws/storyden/internal/config"
)
type Storer interface {
Exists(ctx context.Context, path string) (bool, error)
Read(ctx context.Context, path string) (io.Reader, int64, error)
Write(ctx context.Context, path string, w io.Reader, size int64) error
}
func Build() fx.Option {
return fx.Provide(func(ctx context.Context, cfg config.Config) (Storer, error) {
switch cfg.AssetStorageType {
case "s3":
return NewS3Storer(ctx, cfg)
default:
return NewLocalStorer(cfg), nil
}
})
}