Back to Home
EPortman-Ping icon

remote-mcp-ping-federate

Verified Safe

by EPortman-Ping

Overview

A Cloudflare Workers MCP server secured with PingFederate, enabling AI agents to call protected downstream APIs on behalf of an authenticated end user via OAuth 2.0 token exchange.

Installation

Run Command
npm run deploy

Environment Variables

  • PING_FEDERATE_ISSUER
  • MCP_SERVER_IDENTIFIER
  • MCP_SERVER_CLIENT_ID
  • MCP_SERVER_CLIENT_SECRET
  • API_URL

Security Notes

The server implements robust OAuth 2.0 and OIDC practices, including JWT validation using the `jose` library (fetching JWKS from the issuer), and secure token exchange. All sensitive configurations are managed through environment variables, preventing hardcoding. A least-privilege approach is used by filtering scopes during token exchange. Cloudflare Durable Objects provide secure and isolated session state. While debugging tools exposing tokens exist in this demo, they would require strict access controls or removal in a production environment.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-12-15

Tags

Cloudflare WorkersPingFederateOAuthAI AgentsDelegated Auth