UNPKG

@mexl/backstage-plugin-mcp-frontend

Version:

Enhanced Backstage frontend plugin for MCP (Model Context Protocol) entity visualization with JSON/Text toggle, syntax highlighting, and VSCode integration

20 lines (17 loc) 490 B
import { createPlugin, createRoutableExtension } from '@backstage/core-plugin-api'; import { rootRouteRef } from './routes.esm.js'; const mcpPlugin = createPlugin({ id: "mcp", routes: { root: rootRouteRef } }); mcpPlugin.provide( createRoutableExtension({ name: "MCPEntityPage", component: () => import('./components/MCPEntityPage.esm.js').then((m) => m.MCPEntityPage), mountPoint: rootRouteRef }) ); export { mcpPlugin }; //# sourceMappingURL=plugin.esm.js.map