Back to Home
JayaSamuthraDevi icon

mcp-server

Verified Safe

by JayaSamuthraDevi

Overview

A Model Context Protocol (MCP) server for secure access to billing and compute information, authenticated via Keycloak for AI assistant integration.

Installation

Run Command
uv run app/main.py

Environment Variables

  • UPSTREAM_AUTHORIZATION_ENDPOINT
  • UPSTREAM_TOKEN_ENDPOINT
  • UPSTREAM_CLIENT_ID
  • UPSTREAM_CLIENT_SECRET
  • JWKS_URI
  • AUDIENCE
  • ISSUER
  • MCP_SERVER_BASE_URL

Security Notes

The server uses OAuth2 via Keycloak for authentication, with sensitive configuration loaded from environment variables (no hardcoded secrets). It leverages httpx for secure asynchronous HTTP requests to upstream services. Upstream API keys and secrets are expected as claims within the verified OAuth token, shifting the security burden for these credentials to the Keycloak setup and token issuance process. No 'eval' or obvious malicious patterns found in the provided code. Requires HTTPS in production and careful handling of client secrets as emphasized in the README.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2025-12-28

Tags

MCPBillingKeycloakOAuth2Python