Skip to main content
Glama
main.go541 B
package main import ( "log" "os" "strings" _ "embed" "github.com/st3v3nmw/sourcerer-mcp/internal/mcp" ) //go:embed VERSION var Version string func main() { Version = strings.TrimSpace(Version) workspaceRoot := os.Getenv("SOURCERER_WORKSPACE_ROOT") if workspaceRoot == "" { workspaceRoot = "." } server, err := mcp.NewServer(workspaceRoot, Version) if err != nil { log.Fatalf("Failed to create server: %v", err) } defer server.Close() err = server.Serve() if err != nil { log.Fatalf("Server error: %v", 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/st3v3nmw/sourcerer-mcp'

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