Skip to main content
Glama

mcp-1panel

Official
by 1Panel-dev
list_install.go862 B
package app import ( "context" "github.com/modelcontextprotocol/go-sdk/mcp" "github.com/1Panel-dev/mcp-1panel/operations/types" "github.com/1Panel-dev/mcp-1panel/utils" ) const ( ListInstalledApps = "list_installed_apps" ) var ListInstalledAppsTool = mcp.NewServerTool[ListInstalledAppsInput, any]( ListInstalledApps, "list installed apps", func(ctx context.Context, _ *mcp.ServerSession, params *mcp.CallToolParamsFor[ListInstalledAppsInput]) (*mcp.CallToolResultFor[any], error) { req := &types.PageRequest{ Page: 1, PageSize: 500, } appListRes := &types.AppInstalledListResponse{} result, err := utils.NewPanelClient("POST", "/apps/installed/search", utils.WithPayload(req)).Request(appListRes) if result != nil { result.StructuredContent = appListRes } return result, err }, ) type ListInstalledAppsInput struct { }

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/1Panel-dev/mcp-1panel'

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