backstage-mcp-server
v1.1.2
Published
A Model Context Protocol (MCP) server for searching Backstage catalog entries, API specifications, and technical documentation
Maintainers
Readme
Backstage MCP Server
This is a Model Context Protocol (MCP) server for searching Backstage catalog entries, API specifications, and technical documentation.
Features
- Search for entities in the Backstage catalog
- Search for API specifications
- Search for technical documentation
Setup
- Install the package:
npm install backstage-mcp-server- Create an mcp.json file in your project:
For authenticated Backstage instances:
{
"servers": {
"backstage-search": {
"command": "npx",
"args": ["backstage-mcp-server"],
"env": {
"BACKSTAGE_URL": "http://localhost:7007",
"BACKSTAGE_TOKEN": "your-backstage-access-token"
}
}
}
}For guest mode (no authentication required):
{
"servers": {
"backstage-search": {
"command": "npx",
"args": ["backstage-mcp-server"],
"env": {
"BACKSTAGE_URL": "http://localhost:7007"
}
}
}
}- Configure the environment variables:
BACKSTAGE_URL: Your Backstage instance URL (defaults to http://localhost:7007)BACKSTAGE_TOKEN: Your Backstage access token (required for authentication)
To obtain a Backstage access token:
- Log in to your Backstage instance
- Go to your user settings
- Generate a new token with appropriate permissions for reading the catalog
Note: If your Backstage instance is configured for guest mode and allows unauthenticated access to the catalog, you can omit the BACKSTAGE_TOKEN environment variable.
- Configure Claude for Desktop:
Copy the contents of your
mcp.jsonto your Claude for Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%AppData%\Claude\claude_desktop_config.json
Available Tools
search-catalog: Search for entities in the Backstage catalog- Parameters:
query: Search query for finding entitieskind(optional): Filter by entity kind (e.g., 'Component', 'API')
- Parameters:
search-api-specs: Search for API specifications in the catalog- Parameters:
query: Search query for finding API specs
- Parameters:
search-tech-docs: Search for technical documentation- Parameters:
query: Search query for finding technical documentation
- Parameters:
Example Queries
You can ask Claude questions like:
- "Find all API specifications related to authentication"
- "Search for components in the catalog that handle user data"
- "Find technical documentation about deployment processes"
