registry

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MCPSoClient

type MCPSoClient struct {
	BaseURL    string
	HTTPClient *http.Client
}

MCPSoClient is a client for the mcp.so registry

func NewMCPSoClient

func NewMCPSoClient() *MCPSoClient

NewMCPSoClient creates a new mcp.so client

func (*MCPSoClient) Get

func (c *MCPSoClient) Get(name string) (*ServerResult, error)

Get retrieves details for a specific MCP server

func (*MCPSoClient) List

func (c *MCPSoClient) List(limit int) (*SearchResponse, error)

List retrieves the most popular MCP servers

func (*MCPSoClient) Search

func (c *MCPSoClient) Search(query string) (*SearchResponse, error)

Search searches for MCP servers on mcp.so

type SearchResponse

type SearchResponse struct {
	Results []ServerResult `json:"results"`
	Total   int            `json:"total"`
}

SearchResponse represents the response from mcp.so search

type ServerResult

type ServerResult struct {
	Name        string   `json:"name"`
	Description string   `json:"description"`
	URL         string   `json:"url"`
	Author      string   `json:"author"`
	Tags        []string `json:"tags"`
	Runtime     string   `json:"runtime"` // node, python, go, etc.
	Stars       int      `json:"stars"`
}

ServerResult represents a search result from mcp.so

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL