Skip to main content
Glama

Portainer MCP

Official
by portainer
zlib License
67
  • Linux
  • Apple
tooldef.go501 B
package tooldef import ( _ "embed" "os" ) //go:embed tools.yaml var ToolsFile []byte // CreateToolsFileIfNotExists creates the tools.yaml file if it doesn't exist // It returns true if the file already exists, false if it was created or an error occurred func CreateToolsFileIfNotExists(path string) (bool, error) { if _, err := os.Stat(path); os.IsNotExist(err) { err = os.WriteFile(path, ToolsFile, 0644) if err != nil { return false, err } return false, nil } return true, nil }

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/portainer/portainer-mcp'

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