backstage-mcp
Connects to a Backstage instance via its REST APIs to expose catalog search, entity details, API specifications, scaffolder templates and tasks, and TechDocs tools to MCP clients.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@backstage-mcp search the catalog for services owned by team-payments"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
backstage-mcp
Bring your Backstage developer portal to AI β two ways:
π€ Backstage Assistant plugins β an in-portal AI chat widget (frontend + backend Backstage plugins) with multi-provider LLM support, a UI model picker, and the full catalog / scaffolder / TechDocs toolset.
π Standalone MCP server β a single ~550 KB file exposing the same Backstage tools to external MCP clients (Claude, Cursor, VS Code, Windsurf) with no changes to your Backstage instance.
π€ Backstage Assistant plugins
An AI assistant embedded directly in your Backstage UI.
Package | Role | |
Frontend | Floating chat widget + model picker | |
Backend | LLM orchestration + Backstage tools |

Highlights
Native Amazon Bedrock and Azure AI Foundry, plus any OpenAI-compatible API (no proxy), with an ordered fallback chain β all via the Vercel AI SDK.
Pick the model from the UI; the choice is remembered per browser.
Streaming responses, structured result cards, internal entity links, and guided scaffolder runs with an OAuth popup for VCS tokens.
Install the plugins
Published to npmjs.org as public packages β no token or registry config needed to install.
yarn --cwd packages/app add @oopsmyops/backstage-plugin-assistant
yarn --cwd packages/backend add @oopsmyops/backstage-plugin-assistant-backend// packages/backend/src/index.ts
backend.add(import('@oopsmyops/backstage-plugin-assistant-backend'));
// packages/app/src/App.tsx β new frontend system
import assistantPlugin from '@oopsmyops/backstage-plugin-assistant';
// add `assistantPlugin` to createApp({ features: [...] })Configure models
assistant:
llm:
fallback: [groq-llama] # tried, in order, if the selected model fails
models:
- id: claude-bedrock
label: Claude Sonnet (Bedrock)
provider: bedrock
model: anthropic.claude-sonnet-4-6
region: us-east-1
apiKey: ${AWS_BEARER_TOKEN_BEDROCK} # optional; omit to use the AWS credential chain
default: true
- id: gpt-azure
label: GPT-5.1 (Azure AI Foundry)
provider: azure
model: gpt-5.1 # Azure deployment name
resourceName: my-foundry-resource
apiKey: ${AZURE_OPENAI_API_KEY}
- id: groq-llama
label: Llama 3.3 70B (Groq)
provider: openai-compatible
model: llama-3.3-70b-versatile
baseUrl: https://api.groq.com/openai/v1
apiKey: ${GROQ_API_KEY}π Full documentation: frontend plugin README Β· backend plugin README
Related MCP server: Foundry Agents MCP Server
π Standalone MCP server
A single-file MCP server exposing 11 Backstage tools (catalog search, entity details, API specs, scaffolder templates + tasks, TechDocs) to any MCP client. No Backstage install required β it connects through Backstage's REST APIs.
# Download the latest binary and run it
curl -LO https://github.com/oopsmyops/backstage-mcp/releases/latest/download/backstage-mcp.mjs
BACKSTAGE_BASE_URL=https://your-backstage.example.com \
BACKSTAGE_TOKEN=your-token \
node backstage-mcp.mjsBuild from source instead: npm install && npm run build β dist/backstage-mcp.mjs.
Need a token? Use a static service-account token (recommended) or a guest token.
Connect an MCP client (Claude Desktop, Cursor, VS Code, Windsurf):
{
"mcpServers": {
"backstage-mcp": {
"command": "node",
"args": ["/absolute/path/to/backstage-mcp.mjs"],
"env": {
"BACKSTAGE_BASE_URL": "https://your-backstage.example.com",
"BACKSTAGE_TOKEN": "your-token"
}
}
}
}For remote/shared use, run with MCP_TRANSPORT=http and point clients at
http://localhost:3000/mcp (health: /health).
Environment variables
Variable | Required | Default | Description |
| yes | β | Base URL of your Backstage instance |
| yes | β | Bearer token for authentication |
| no |
|
|
| no |
| HTTP port (when |
| no |
| HTTP host (when |
| no |
| Entity cache TTL in seconds (0 = disabled) |
| no |
| Backstage API request timeout |
Contributing
See CONTRIBUTING.md.
License
Available Tools
11 toolscheck_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.
Inputs: no named parameters.
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.
Inputs: entityRef (required).
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.
Inputs: entityRef (required), includeRelations (required).
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'.
Inputs: taskId (required), includeLogs (required).
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.
Inputs: entityRef (required), forceSync (required).
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.
Inputs: entityRef (required).
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.
Inputs: limit (required), type, owner.
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.
Inputs: createdBy.
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.
Inputs: limit (required), tags.
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.
Inputs: values (required), templateRef (required), createdBy.
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.
Inputs: limit (required), kind, tags, owner, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
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.
Maintenance
Related MCP Connectors
The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.
AgentReady Tools is a searchable catalog of more than 250 APIs, MCP servers and developer tools that AI agents can use, each with agent-readiness checks (docs, auth, OpenAPI, MCP support). Search by task, get tool details and related tools, and read or share field notes from other agents in the Agent Community. Remote MCP endpoint: https://agentready-tools.com/mcp
Call the AI agents you build and test in Backprompter as tools from any MCP client.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Related MCP Servers
- FlicenseAqualityDmaintenanceExposes two MCP tools (discover and execute) that enable agents to query an OpenAPI schema via natural language and execute matched API operations.2-
- AlicenseAqualityDmaintenanceExposes Azure AI Foundry agents, workflows, and AI Search vector-database capabilities as MCP tools, enabling natural language interaction with agents, semantic search, and index management.102MIT
- FlicenseNot gradedqualityDmaintenanceExposes an existing RAG API as MCP tools, enabling health checks and document-based question answering with source evidence.-
- FlicenseNot gradedqualityDmaintenanceEnables LLM clients to browse and manage VCF Automation projects, catalog items, and deployments through MCP tools, including provisioning, day-2 actions, and deleting infrastructure.-