Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • See all Red Hat products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Red Hat OpenShift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • See all technologies
    • Programming languages & frameworks

      • Java
      • Python
      • JavaScript
    • System design & architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer experience

      • Productivity
      • Tools
      • GitOps
    • Automated data processing

      • AI/ML
      • Data science
      • Apache Kafka on Kubernetes
    • Platform engineering

      • DevOps
      • DevSecOps
      • Red Hat Ansible Automation Platform for applications and services
    • Secure development & architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & cloud native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • See all learning resources

    E-books

    • GitOps cookbook
    • Podman in action
    • Kubernetes operators
    • The path to GitOps
    • See all e-books

    Cheat sheets

    • Linux commands
    • Bash commands
    • Git
    • systemd commands
    • See all cheat sheets

    Documentation

    • Product documentation
    • API catalog
    • Legacy documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore the Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

MCP in Red Hat Developer Hub: Chat with your catalog

November 10, 2025
John Collier
Related topics:
APIsArtificial intelligenceDeveloper ProductivityIntegrationPlatform engineering
Related products:
Red Hat Developer HubRed Hat Plug-ins for Backstage

    This article outlines new plug-ins for Red Hat Developer Hub that provides tools for MCP (Model Context Protocol) clients to interact with it. Starting in version 1.8, you can install plug-ins from the Extensions Marketplace that provide an MCP server in Developer Hub, along with tools that allow MCP clients to query the contents of the software catalog and retrieve TechDocs documentation associated with catalog entities.

    Red Hat Developer Hub is an internal developer platform (IDP) based on Backstage. It helps development teams and organizations increase productivity by centralizing information from many sources into a single portal. For example, Red Hat Developer Hub provides a software catalog that acts as a central location for the components, APIs, and documentation an organization uses to build software. 

    Model Context Protocol provides a standard for connecting AI models and applications (MCP clients) to external systems and tools (MCP servers). This connection allows them to access information on those systems. MCP servers expose "tools"—a set of actions that can be executed against those external systems. You can write MCP servers for almost any purpose; there are MCP tools for querying weather information, web searches, file systems, and more. 

    Introducing MCP tool plug-ins for Red Hat Developer Hub

    Recently, the Backstage project introduced a new plug-in for Backstage that implements an MCP server, based on the Actions Registry. This allows IDPs, such as Red Hat Developer Hub, to easily define MCP tools in a Backstage-native way using simple back-end plug-ins, which removes the need to build a separate MCP server. Instead, you simply build a back-end plug-in that defines a basic action. 

    At Red Hat, we recently investigated what effective MCP tools for Developer Hub would look like. We decided on the following as a starting point:

    • The tools should be able to query the entire software catalog, including the detailed metadata.
    • The tools should be able to retrieve documentation (TechDocs) known to the instance.
    • The tools should focus on read-only operations as a starting point. Write or potentially destructive operations require further security considerations.

    As a result, we developed two separate MCP tool plug-ins that can be installed alongside the Backstage MCP server:

    • software-catalog-mcp-tool
    • techdocs-mcp-tool

    Next, let's look at how to enable those plug-ins and what they can do.

    Install the MCP server plug-ins

    Prerequisites:

    • Red Hat Developer Hub 1.8

    To enable the MCP server and tools in Developer Hub, update your dynamic-plugins.yaml configuration to add the following plug-ins:

           # MCP server backend plugin
           - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-mcp-actions-backend:bs_1.42.5__0.1.2!backstage-plugin-mcp-actions-backend
             disabled: false
          
           # MCP tools plugins
           - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-software-catalog-mcp-tool:bs_1.42.5__0.2.3!red-hat-developer-hub-backstage-plugin-software-catalog-mcp-tool
             disabled: false
           - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-techdocs-mcp-tool:bs_1.42.5__0.3.0!red-hat-developer-hub-backstage-plugin-techdocs-mcp-tool
             disabled: false

    Then, update the app-config to configure a static token for authentication:

     backend: 
       auth:
         externalAccess:
           - type: static
             options:
               token: ${MCP_TOKEN}
               subject: mcp-clients

    Finally, update the app-config to specify which MCP tools you would like to enable:

     backend:
       actions:
         pluginSources:
           - software-catalog-mcp-tool
           - techdocs-mcp-tool

    Configure your MCP client application

    Prerequisites: 

    • Red Hat Developer Hub 1.8 with the MCP plug-ins installed
    • A compatible MCP client

    Once you've installed the MCP plug-ins in your Developer Hub instance, it's easy to connect MCP client applications to it.

    The following sections detail configurations for common clients to use with the MCP tools.

    Cursor

    Add the following to ~/.cursor/mcp.json (or, alternatively, go to Cursor Settings → Tools and MCP and click New MCP Server) and paste the following, substituting the values for ${RHDH_HOST} and ${STATIC_TOKEN}:

    {
     "mcpServers": {
       "backstage-actions": {
         "url": "${RHDH_HOST}/api/mcp-actions/v1",
         "headers": {
           "Authorization": "Bearer ${STATIC_TOKEN}"
         }
       }
     }
    }

    Continue

    If you have an agent.yaml configured for continue.dev, and the following to the bottom of it to allow it to use the MCP server, substituting the values for ${RHDH_HOST} and ${STATIC_TOKEN}:

    mcpServers:
     - name: backstage-actions
       type: streamable-http
       url: ${RHDH_HOST}/api/mcp-actions/v1
       requestOptions:
         headers:
           Authorization: "Bearer ${STATIC_TOKEN}"

    Claude CLI

    Run the following command, substituting the values for ${RHDH_HOST} and ${STATIC_TOKEN}:

    claude mcp add backstage_mcp "${RHDH_HOST}/api/mcp-actions/v1" --transport http -H "Authorization: <static token>"

    Then, confirm that it shows up when you run claude mcp list:

    Checking MCP server health...
    backstage_mcp: https://${RHDH_HOST}/api/mcp-actions/v1 (HTTP) - ✓ Connected

    Using the tools

    So what can the tools do? Here's a breakdown with some example tool calls.

    Software Catalog MCP tool

    As mentioned earlier, we wanted a way for AI models to interact with the software catalog. We created a basic MCP tool here that can retrieve any entity from the catalog, along with its metadata. In addition, there are optional parameters for filtering your query by entity kind, type, owner, and tags. 

    You can use basic queries to get any information about a specific entity you want to know more about, as illustrated in Figure 1:

    Fetch beneficiary management API catalog entry.
    An AI application executing the query "Get information about the `beneficiary-management-api` component". It found and returned a single component matching that name.
    Figure 1: Query and response for fetching the beneficiary-management-api catalog entry.

    Or you can use it to find the catalog entry you need, if you're not certain about specifics (Figure 2):

    Find all catalog entries that contain metadata about transactions
    An AI application executing the MCP tool, returning entities that match the word "transaction."
    Figure 2: Query and response for finding all catalog entries that contain metadata about transactions.

    Finally, you can even string together multiple tool calls using a single query (Figure 3):

    Get the API entity that the "beneficiary-management-api" component exposes (verbose: true), and from that, retrieve the OpenAPI spec. Then using the OpenAPI spec, construct a curl command to add a new beneficiary
    The AI app executing the query.
    Figure 3: A query with multiple tool calls.

    Figure 4 shows the response.

    The result of the query, with the AI application summarizing the API specification, and providing an example curl command to run.
    Figure 4: The AI application executing the preceding query.

    TechDocs MCP tools

    We also wanted MCP clients to be able to query information about documentation associated with catalog entries.

    For example, you can inquire about which entities in the catalog have documentation and documentation coverage (see Figure 5):

    What percentage of entities in the catalog have documentation?
    An AI application executes the query "What percentage of entities in the catalog have documentation." It shows the model calling the TechDocs tool, and returning how much coverage there is.
    Figure 5: Query and response for "What percentage of entities in the catalog have documentation?"

    You can even query for documentation about specific entities or ask how certain entities work, as shown in Figures 6 and 7:

    How does the audio-to-text software template work? 
    The execution of an MCP tool, showing multiple tool calls retrieving information about the "audio-to-text" software template.
    Figure 6: Query for "How does the audio-to-text software template work?" and multiple tool calls retrieving information about the audio-to-text software template.

    The result is shown in Figure 7.

    The result of the MCP tool execution, showing a summary of the "audio-to-text" software template's documentation.
    Figure 7: Summarizing the audio-to-text software template's documentation.

    Conclusion

    MCP creates opportunities to integrate AI models with existing systems and services, with Backstage serving as a crucial platform. The new MCP plug-ins in Red Hat Developer Hub showcase the advantages of connecting your developer portal with AI clients and use the new MCP server that Backstage now provides. 

    You'll be able to try it before month's end on Red Hat Developer Hub 1.8 or on Red Hat Developer Hub Local!

    Learn more:

    • How to build a simple agentic AI server with MCP
    • A quick look at MCP with large language models and Node.js
    • LLMs and Red Hat Developer Hub: How to catalog AI assets
    • How to template AI software in Red Hat Developer Hub 

    Recent Posts

    • OpenShift AI connector for Red Hat Developer Hub (Developer Preview)

    • MCP in Red Hat Developer Hub: Chat with your catalog

    • How to develop Red Hat Enterprise Linux applications on other Linux distributions or Microsoft Windows

    • Automate VM golden image builds for OpenShift with Packer

    • Setting up Intel TDX VMs with Trustee on OpenShift

    What’s up next?

    Writing “Hello, World” hasn’t gotten any harder, but running it has. Download our developer’s guide to developer portals to learn how engineering teams can reduce friction and boost productivity using internal developer portals (IDPs).

    Get the e-book
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue