Skip to main content

MCPPackage

A package an MCP server can be installed or launched from. Every property is always present in the response and is null when the registry does not supply it.

Properties​

NameTypeDescriptionNotes
registry_typestrPackage registry that hosts the package.[optional]
identifierstrPackage identifier within the registry.[optional]
commandstrCommand used to launch the package.[optional]
args[]strArguments passed to the launch command, in the order they are applied.[optional]
}

Example​

from sailpoint.business_applications.models.mcp_package import MCPPackage

mcp_package = MCPPackage(
registry_type='npm',
identifier='@modelcontextprotocol/server-github',
command='npx',
args=["-y","@modelcontextprotocol/server-github"]
)

[Back to top]