backstage-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | HTTP host (when MCP_TRANSPORT=http) | 127.0.0.1 |
| PORT | No | HTTP port (when MCP_TRANSPORT=http) | 3000 |
| MCP_TRANSPORT | No | Transport mode: stdio or http | stdio |
| BACKSTAGE_TOKEN | Yes | Bearer token for authentication | |
| CACHE_TTL_SECONDS | No | Entity cache TTL in seconds (0 = disabled) | 60 |
| BACKSTAGE_BASE_URL | Yes | Base URL of your Backstage instance | |
| REQUEST_TIMEOUT_MS | No | Backstage API request timeout | 10000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_connectionA | Verify connectivity to Backstage and validate the configured token. Returns server info, token identity (if available), and a summary of accessible resources. Run this first to confirm your setup is working. |
| search_catalogA | Search the Backstage software catalog for components, APIs, systems, groups, users, and other entities. Returns a paginated list with entityRefs for follow-up calls. Use get_entity for full details on a specific result. |
| get_entityA | Get full details for a Backstage entity including metadata, spec, annotations, and resolved relations (APIs consumed/provided, dependencies, system membership, ownership). Use search_catalog first to find the entityRef. |
| list_api_specsA | List API entities in the Backstage catalog, optimized for integration discovery. Returns name, type (openapi/asyncapi/graphql/grpc), owner, and description. Use get_api_spec to retrieve the full specification. |
| get_api_specA | Retrieve the raw API specification (OpenAPI YAML/JSON, AsyncAPI, GraphQL schema, etc.) for a specific API entity. The spec content can be used to understand available endpoints, schemas, and authentication requirements for writing integration code. |
| list_templatesA | List available Backstage scaffolder templates for creating new services, libraries, repositories, or other resources. Returns names, descriptions, and tags. Use get_template to see the full parameter schema for a specific template. |
| get_templateA | Get the full specification for a Backstage scaffolder template, including the parameters JSON Schema and lookupHints. The lookupHints array tells you which tools to call (in parallel) to fetch selectable options (groups, APIs, components) BEFORE asking the user for input. Always present fetched options as numbered lists so the user can pick rather than type. Use this BEFORE run_template. |
| run_templateA | Execute a Backstage scaffolder template with the provided parameter values. Validates inputs against the template schema before submitting. Returns a taskId for tracking progress with get_task_status. Always call get_template first to understand required parameters. |
| list_tasksA | List scaffolder tasks (template executions). Returns task IDs, status, template used, and who created them. Optionally filter by the user who triggered the task. |
| get_task_statusA | Get the execution status and progress of a Backstage scaffolder task. Poll this after run_template to monitor progress. Status will be 'processing', 'completed', 'failed', or 'cancelled'. |
| get_techdocsA | Retrieve the TechDocs documentation for a Backstage entity. Triggers a render sync if needed, then returns the documentation as plain text. The entity must have a 'backstage.io/techdocs-ref' annotation configured. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
Each tool targets a distinct resource+action (catalog search vs. entity fetch vs. API spec listing vs. template lifecycle vs. task tracking vs. docs). The only mild overlaps are search_catalog vs. list_api_specs and get_entity vs. get_api_spec, but descriptions explicitly cross-reference each other and state when to use which, so an agent can choose correctly.
All 11 tools follow a uniform snake_case verb_noun pattern (check_connection, search_catalog, get_entity, list_api_specs, get_api_spec, list_templates, get_template, run_template, list_tasks, get_task_status, get_techdocs). Verbs are used consistently for the same semantic action (list_* for collections, get_* for single retrieval, run_* for execution).
Eleven tools is well within the ideal range and each one earns its place across three coherent sub-domains: catalog exploration, scaffolder templates/execution, and task monitoring, plus a setup check and docs retrieval. No obvious redundancy or filler.
The surface covers the core Backstage workflows end to end: connectivity check, catalog discovery, entity/API spec retrieval, template inspection, execution, task polling, and TechDocs. Minor gaps exist — no task log retrieval for diagnosing failed scaffolder runs, and no entity registration/location management — but agents can work around these for read-oriented use.