Skip to Content
MCP serverGetting startedGitHub Copilot CLI

GitHub Copilot CLI

From this guide, you’ll learn how GitHub Copilot CLI can work with your Prepr content through the Prepr MCP server, so you can manage content items, assets, and schema using plain-language prompts.

Connecting GitHub Copilot CLI to the Prepr MCP server

Follow the steps below to add Prepr to GitHub Copilot CLI’s MCP configuration, configure authentication, and test the connection with your first request.

Open the MCP configuration

Open the MCP configuration used by GitHub Copilot CLI.

Follow GitHub’s Copilot CLI MCP server instructions  for the current configuration format.

Add the Prepr MCP server

Create a remote server using:

  • Name: Prepr
  • Server URL: https://mcp.prepr.io

Configure authentication

Add an Authorization header containing Bearer YOUR_ACCESS_TOKEN to the remote HTTP server configuration.

See Connecting with an MCP token to request a token and configure token-based access.

Send your first request

To confirm that GitHub Copilot CLI can access your Prepr environment, send the following prompt:

Find the five most recently updated content items in Prepr and show their titles and publication statuses.

GitHub Copilot CLI can use the tools exposed by the Prepr MCP server to inspect your environment and work with your content.

The server also inspects the AI context defined in your environment settings to interpret requests more accurately.

What’s next?

Explore typical use cases or review the available tools and actions.

Last updated on