MCP Setup Guide (Copilot)
This guide instructs users on setting up the MCP Server and enabling Microsoft Copilot integration through Copilot Studio.
Prerequisites
Before beginning the setup process, you will need to:
- Access to a Pax8 account (app.pax8.com)
- Access to Microsoft Copilot Studio
- Access to Power Apps (for custom connector creation)
- Administrative privileges for your Microsoft environment
- Internet connection for accessing required services
- Early Access Instructions:
Step 1: Access the Pax8 Integrations Page
- Sign in to app.pax8.com
- On the left pane, select Settings > Integrations
Step 2: Generate Authentication Token
- Navigate to the Integrations page
- On the Integrations page, select the MCP server tab
- Under MCP Token and Authentication, select Generate Token
- The page will refresh automatically after token generation
- Copy and save your MCP token for use in Step 6
Step 3: Create New Agent in Copilot Studio
- Open Microsoft Copilot Studio
- In the left sidebar, click Agents
- Click the + New Agent button
- Configure your agent with the following settings:
- Agent Name: Provide a descriptive name (e.g., "Pax8 Marketplace Assistant")
- Basic Prompt: Enter a foundational prompt such as:
You will answer questions about Pax8 from a tool you will have available
- Click Continue in the top right to proceed
Step 4: Prepare OpenAPI Configuration File
- Download this file OR follow the steps below.
- Copy the OpenAPI configuration provided below
- Save it as a file named
openapi.json
on your local device
OpenAPI Configuration File
{
"swagger": "2.0",
"info": {
"title": "Pax8 Marketplace",
"description": "Interact with the Pax8 Marketplace to get companies, invoices, orders, products, quotes, and subscriptions",
"version": "1.0.0"
},
"host": "mcp.pax8.com",
"basePath": "/v1/sse",
"schemes": [
"https"
],
"consumes": [],
"produces": [],
"paths": {
"/": {
"get": {
"summary": "MCP-SSE",
"parameters": [
{
"in": "query",
"name": "sessionId",
"type": "string",
"required": false
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "Immediate Response",
"schema": {
"$ref": "#/definitions/QueryResponse"
}
},
"201": {
"description": "Created and will follow callback"
}
},
"operationId": "InvokeMCP",
"tags": [
"Agentic",
"McpSse"
],
"description": "Interact with the Pax8 Marketplace to get invoices, orders, companies, subscriptions, and more"
}
}
},
"definitions": {
"QueryResponse": {
"type": "object",
"properties": {
"jsonrpc": {
"type": "string"
},
"id": {
"type": "string"
},
"method": {
"type": "string"
},
"params": {
"type": "object"
},
"result": {
"type": "object"
},
"error": {
"type": "object"
}
}
}
},
"parameters": {},
"responses": {},
"securityDefinitions": {
"api_key": {
"type": "apiKey",
"in": "header",
"name": "x-pax8-mcp-token"
}
},
"security": [],
"tags": []
}
Step 5: Create Custom Connector in Power Apps
Access Custom Connector Creation
- In Copilot Studio, click Tools in the top navigation bar
- Click the + Add a tool button
- Click the + New tool button
- Select Custom connector
- This will redirect you to the Power Apps environment
Import OpenAPI Configuration
- In Power Apps, click the + New custom connector button
- Select Import an OpenAPI file
- Provide a descriptive name for your connector (e.g., "Pax8 MCP Connector")
- Click Import
- Upload the
openapi.json
file you created in Step 4 - Click Continue
Finalize Connector Creation
- Review the connector configuration settings
- Click Create Connector in the top right
- Wait for the connector to be saved successfully
Step 6: Configure Connection and Add to Agent
Return to Copilot Studio
- Return to the Copilot Studio Tools tab
- Refresh the page to see your newly created connector
- Your connector should appear in the Model Context Protocol tab, or you can search for it by the name you provided
Create Connection
- Select your custom connector
- In the Connection dropdown, click your connector name
- Click Create new connection
- In the authentication field, paste the Pax8 MCP token you generated in Step 2
- Click Create
Add Tool to Agent
- Once the connection is established, click Add to agent
- Wait for the integration process to complete
Step 7: Test the Integration
- Navigate to your agent's chat interface
- Test the integration using one of the following example prompts:
- "Can you get me a list of companies using the Pax8 MCP server?"
- "Show me recent invoices from Pax8"
- "What products are available in the Pax8 marketplace?"
- Verify that the agent successfully retrieves data from the Pax8 MCP Server
Verification Checklist
Ensure the following to confirm successful integration:
- Pax8 MCP token has been generated and saved
- Agent has been created in Copilot Studio with appropriate prompt
- OpenAPI file has been saved and imported correctly
- Custom connector has been created successfully in Power Apps
- Connection has been established with valid MCP token
- Tool has been added to the agent
- Test prompts return expected Pax8 data
Optional: Getting Started
Use the sample prompts available on the Integrations > MCP Server page to begin exploring the integration capabilities with your Copilot agent.
Troubleshooting
If you encounter issues during setup:
- Token Issues: Ensure your Pax8 MCP token was generated successfully and copied correctly
- OpenAPI Import: Verify the
openapi.json
file is properly formatted and contains all required fields - Connector Creation: Check that you have appropriate permissions in Power Apps to create custom connectors
- Connection Authentication: Confirm the MCP token is pasted correctly without extra spaces or characters
- Agent Integration: Ensure the tool has been properly added to your agent after connection creation
- Response Issues: If the agent doesn't respond as expected, verify the connection is active and test with simpler prompts
For additional support, refer to the Pax8 documentation, Microsoft Copilot Studio documentation, or contact your system administrator.
Updated about 3 hours ago