Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OS_CLOUDNoName of the cloud in clouds.yaml. Credentials come from openstacksdk: OS_CLOUD with clouds.yaml, or OS_* variables (password or application credentials).
OS_CACERTNoCA bundle path. OPENSTACK_MCP_CACERT_PEM takes precedence over OS_CACERT.
OS_AUTH_URLNoKeystone authentication URL, e.g. https://keystone.example.com:5000/v3.
OS_PASSWORDNoPassword for password authentication.
OS_USERNAMENoUsername for password authentication.
OS_PROJECT_IDNoProject ID for password authentication.
OS_REGION_NAMENoRegion name, e.g. RegionOne.
OS_PROJECT_NAMENoProject name (alternative to OS_PROJECT_ID).
OPENSTACK_MCP_MODENoreadonly or admin.readonly
OS_USER_DOMAIN_NAMENoUser domain name, e.g. Default.
OS_CLIENT_CONFIG_FILENoPath to clouds.yaml. clouds.yaml is found the usual way (OS_CLIENT_CONFIG_FILE, ./clouds.yaml, ~/.config/openstack/clouds.yaml, /etc/openstack/).
OPENSTACK_MCP_HTTP_HOSTNoHTTP bind host; path is /mcp.127.0.0.1
OPENSTACK_MCP_HTTP_PORTNoHTTP bind port.8000
OPENSTACK_MCP_LOG_LEVELNostderr log level. SDK loggers stay at CRITICAL.WARNING
OPENSTACK_MCP_MAX_LIMITNoLargest accepted limit (up to 1000).100
OPENSTACK_MCP_TRANSPORTNostdio or streamable-http.stdio
OPENSTACK_MCP_CACERT_PEMNoCA bundle as PEM text; takes precedence over OS_CACERT.
OPENSTACK_MCP_API_TIMEOUTNoSeconds per OpenStack request; no retries.10
OPENSTACK_MCP_PROJECT_IDSNoComma-separated project IDs the server may use; the first is the default.
OPENSTACK_MCP_DEFAULT_LIMITNoItems per list call when limit is omitted.50
OPENSTACK_MCP_ALLOW_INSECURENoAllow verify: false or an http:// auth URL.false
OPENSTACK_MCP_ENABLE_PROMPTSNoRegister the prompt.true
OS_APPLICATION_CREDENTIAL_IDNoApplication credential ID for application credential authentication.
OPENSTACK_MCP_ENABLE_RESOURCESNoRegister openstack://scope.true
OPENSTACK_MCP_HTTP_ALLOW_REMOTENoAllow a non-loopback HTTP bind. The HTTP transport has no authentication.false
OPENSTACK_MCP_ENABLE_WRITE_TOOLSNoWith admin, registers write tools.false
OPENSTACK_MCP_MAX_RESPONSE_BYTESNoLargest result; larger ones fail with response_too_large.524288
OS_APPLICATION_CREDENTIAL_SECRETNoApplication credential secret for application credential authentication.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

OpenStack inventory over MCP. Read-only unless the operator enabled write tools. Call get_scope first: it lists the allowed project IDs, limits and whether credentials are configured, without contacting the cloud. Every cloud tool takes an optional project_id; omit it for the default project. List tools return items with complete and next_marker. When complete is false, pass next_marker as marker to read the next page, or narrow the filters. Errors start with a category in brackets. [forbidden] means the identity lacks a role for that call; it does not mean the inventory is empty. Do not retry [forbidden], [auth_failed] or [not_configured].

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_scopeA

Show mode, allowed projects, limits and whether credentials are configured.

Does not contact the cloud. Call it first.

list_serversA

List servers in the project with status, flavor, image, addresses and volumes.

Paged with limit and marker. Use get_server for one server by ID.

get_serverA

Get one server by ID: status, flavor, image, addresses, security groups and volumes.

Use list_servers to find IDs by name or status. Returns not_found if the ID is not in the selected project.

list_flavorsA

List flavors visible to the project: vCPUs, RAM (MiB), disk (GiB).

Paged with limit and marker. Use it to resolve the flavor of a server.

list_imagesA

List images visible to the project with status, visibility, formats and size.

Paged with limit and marker. Use get_image for one image by ID.

get_imageA

Get one image by ID: status, visibility, formats, size, minimum disk and RAM, tags.

Use list_images to find IDs by name. Returns not_found if the image does not exist or is not visible to the selected project.

list_volumesA

List volumes in the project with size (GiB), type, status and attachments.

Paged with limit and marker. Use get_volume for one volume by ID.

get_volumeA

Get one volume by ID: status, size (GiB), type, bootable, encrypted, attachments.

Use list_volumes to find IDs by name or status. Returns not_found if the ID is not in the selected project.

list_volume_attachmentsB

List Cinder attachment records (API microversion 3.27 or later).

Connection details are not returned. Paged with limit and marker.

get_volume_attachmentA

Get one Cinder attachment record by ID, without connection details.

list_networksA

List the project's networks, or shared networks with shared=true.

Paged with limit and marker.

get_networkA

Get one network by ID: status, sharing and external flags, MTU, subnets, provider data.

Use list_networks to find IDs, with shared=true for shared networks. Returns not_found if the network is not visible to the selected project.

list_subnetsA

List the project's subnets with CIDR, gateway and DHCP settings.

Paged with limit and marker.

get_subnetA

Get one subnet by ID: CIDR, gateway, DHCP, allocation pools, DNS servers and routes.

Use list_subnets to find IDs, optionally for one network. Returns not_found if the subnet is not visible to the selected project.

list_portsA

List the project's ports with fixed IPs and security groups.

Paged with limit and marker.

get_portA

Get one port by ID: network, device, MAC, fixed IPs, security groups, address pairs.

Use list_ports to find IDs by network or device. Returns not_found if the port is not visible to the selected project.

list_floating_ipsA

List the project's floating IPs with the fixed IP, port and router they map to.

Paged with limit and marker. There is no get tool: filter by port_id to find the floating IP of one port.

list_routersA

List the project's routers with external gateway and static routes.

Paged with limit and marker. Use list_router_interfaces for the subnets a router connects.

get_routerA

Get one router by ID: status, external gateway, static routes, HA and distributed flags.

Use list_router_interfaces for its internal subnets. Returns not_found if the router is not visible to the selected project.

list_router_interfacesA

List a router's internal interfaces: port, subnet and IP address.

Not paged; complete=false means the router has more interfaces.

list_security_groupsA

List the project's security groups with their rules.

Paged with limit and marker.

get_security_groupA

Get one security group by ID with all its rules: direction, protocol, ports, remote.

Use list_security_groups to find IDs by name. Returns not_found if the group is not visible to the selected project.

list_regionsB

List Keystone regions. Not paged.

list_domainsA

List Keystone domains. Usually needs more than a project reader role; forbidden means the role is missing, not that the list is empty. Not paged; narrow with filters.

list_projectsA

List Keystone projects. Usually needs more than a project reader role; forbidden means the role is missing, not that the list is empty. Not paged; narrow with filters.

list_servicesA

List Keystone catalog entries such as compute or network, not running daemons. Usually needs more than a project reader role; forbidden means the role is missing, not that the list is empty. Not paged; narrow with filters.

list_endpointsA

List Keystone catalog endpoints with interface and URL. Usually needs more than a project reader role; forbidden means the role is missing, not that the list is empty. Not paged; narrow with filters.

list_hypervisorsA

List Nova hypervisors with state and capacity. Usually needs more than a project reader role; forbidden means the role is missing, not that the list is empty. Not paged; narrow with filters.

list_compute_servicesA

List running Nova daemons such as nova-compute with host and state. Usually needs more than a project reader role; forbidden means the role is missing, not that the list is empty. Not paged; narrow with filters.

list_aggregatesA

List Nova host aggregates with availability zone and hosts. Usually needs more than a project reader role; forbidden means the role is missing, not that the list is empty. Not paged; narrow with filters.

list_network_agentsA

List Neutron agents with host and liveness. Usually needs more than a project reader role; forbidden means the role is missing, not that the list is empty. Not paged; narrow with filters.

list_volume_servicesA

List running Cinder daemons such as cinder-volume with host and state. Usually needs more than a project reader role; forbidden means the role is missing, not that the list is empty. Not paged; narrow with filters.

Prompts

Interactive templates invoked by user choice

NameDescription
find_servers_by_security_groupFind servers that have a security group attached.

Resources

Contextual data attached and managed by the client

NameDescription
scopeSame document as the get_scope tool.

TDQS

A3.7/5.0

Scored across 32 tools

Disambiguation4/5

Most tools are cleanly separated by resource (servers, images, volumes, networks, subnets, ports, routers, security groups), each with a list/get pairing and descriptions that explicitly cross-reference each other. The one cluster that could trip an agent is list_services vs list_compute_services vs list_volume_services vs list_network_agents, where 'services' means the Keystone catalog but the siblings mean running daemons; the descriptions do disambiguate, so the risk is contained.

Naming Consistency5/5

Every tool is snake_case verb_noun, and the verb vocabulary is strictly list_/get_ with no stray create/update/describe styles. Resource nouns are used consistently (list_volumes/get_volume, list_router_interfaces, list_floating_ips), including multiword nouns joined with underscores.

Tool Count2/5

32 tools is heavy for a read-only inspection surface and exceeds the 25+ threshold, largely because the server spans six OpenStack services (Nova, Neutron, Cinder, Glance, Keystone plus aggregates/hypervisors). The breadth explains the count, but several near-duplicate listers (services/domains/projects/endpoints/regions, compute/volume/network service listings) inflate it beyond what an agent can scan comfortably.

Completeness4/5

For a read-only inspector the surface is strong: compute, images, flavors, volumes and attachments, networks/subnets/ports/routers/floating IPs/security groups, plus Keystone, catalog, and admin-tier aggregates/hypervisors. Gaps are minor and acknowledged in the descriptions — no get_floating_ip (workaround via port_id filter), no get_flavor or get_aggregate, and some list-only resources — but nothing blocks core workflows.

Maintenance

ActivityNo data
ResponsivenessOutdated data