Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
ua.go570 B
package headers import ( "net/http" "github.com/Southclaws/storyden/app/services/reqinfo" ) type Middleware struct{} func New() *Middleware { return &Middleware{} } // WithHeaderContext stores in the request context header info. func (m *Middleware) WithHeaderContext() func(next http.Handler) http.Handler { return func(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { ctx := r.Context() newctx := reqinfo.WithRequestInfo(ctx, r) r = r.WithContext(newctx) next.ServeHTTP(w, r) }) } }

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