
mcp backstage example
A sample MCP Server and Agent that uses it to pull data from a Backstage instanace
Repository Info
About This Server
A sample MCP Server and Agent that uses it to pull data from a Backstage instanace
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Bee Agent & Model Context Protocol with Backstage
This repository demonstrates how to create a Model Context Protocol (MCP) server that provides tools that LLMs can use to communicate with a Backstage instance. A sample Agent, built using the Bee Agent Framework, is included to demonstrate how to interact with the MCP server.
Run the Demo
Configure Backstage
Enable static, token-based, access to Backstage. This allows a client to
interact with the HTTP API using the token in an authorization header.
appConfig:
backend:
auth:
externalAccess:
- type: static
options:
token: 'notasecuretoken'
subject: mcp
Run the MCP Server
Install dependencies and prepare environment variables:
cd server
npm i
cp .env.template .env
Edit the .env file to with valid values, then start the server:
# Load variables
source .env
# Build and run the server
npm run build && npm start
The MCP server will start listening on http://localhost:8080
Run the Agent
In another terminal, install dependencies and set environment variables:
cd agent
cp .env.template .env
npm i
Run the agent:
npm run build && npm start
Quick Start
Clone the repository
git clone https://github.com/evanshortiss/mcp-backstage-exampleInstall dependencies
cd mcp-backstage-example
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.