Why this may help
Some organizations do not permit or have not enabled a direct connection from VS Code Copilot Chat to a remote Pega Infinity MCP endpoint. For environments where that direct integration is unavailable, but the organization explicitly permits an approved MCP service to run locally, this VS Code extension can start and stop the Pega Infinity MCP service on the developer’s machine and provide setup and authoring entry points in Copilot Chat.
Important policy boundary: This is not a way to bypass an organizational restriction. Use it only when local MCP execution and access to the target Pega environment are permitted by your organization’s policies. If your organization prohibits MCP use altogether, do not install or use this extension; contact your security or platform team for an approved approach.
What is included
The VSIX bundles the extension, the Pega Infinity MCP service, and Pega skills resources. It does not include a developer’s Pega environment URL, personal connection configuration, or OAuth credentials. The service listens on the local loopback interface by default.
Prerequisites
- VS Code 1.90 or later
- Java 17 or later
- GitHub Copilot Chat enabled for your account
- An approved Pega Infinity environment, required network access, and authorization to use it
- An OAuth client ID and local MCP execution explicitly approved for your environment
Install and start
1. Download the attached `pega-infinity-local-service-0.1.0.vsix` from this post, if it is available and approved for your use.
2. In VS Code, open Extensions → `…` → Install from VSIX…, select the file, and reload VS Code.
3. Configure your Pega connection locally using the values and procedure approved by your organization. Do not post or share the connection file, environment URL, OAuth details, or service logs.
4. Open the Pega Infinity Activity Bar panel and select Start Service.
5. Use Start Setup or Open Authoring to open a prompt in Copilot Chat.
6. Select Stop Service when you are finished.
The local connection configuration is stored outside the extension:
- macOS/Linux:
~/.infinity-rules-mcp/config.json - Windows:
%USERPROFILE%\.infinity-rules-mcp\config.json
A configuration file has this general structure. Replace the placeholders locally with approved values; do not put real values in a forum post:
{
"pega_base_url": "<approved-pega-environment-root-url>",
"pega_oauth_client_id": "<approved-oauth-client-id>",
"pega_infinity_version": "<supported-version>"
}
Notes
- The extension does not enable GitHub Copilot features or grant access to Pega.
- Pega authentication, authorization, licensing, and organizational security requirements still apply.
- The included Pega Infinity AI Plugins license limits use and redistribution to use in connection with Pegasystems software. Keep the included license with the package and confirm that distribution is permitted before sharing the VSIX.
- Do not post customer, patient, organization, environment, credential, or internal project information when asking for help.
This is built on top of: infinity-ai-plugins