Back to Home
Bin4yi icon

MCP_Authendication_example

Verified Safe

by Bin4yi

Overview

AI-powered pet care chatbot leveraging an MCP server and LangGraph agent for authenticated access to veterinary tools and pet management.

Installation

Run Command
python main.py

Environment Variables

  • AUTH_ISSUER
  • CLIENT_ID
  • JWKS_URL
  • OPENAI_API_KEY

Security Notes

The server implements robust JWT token validation using JWKS, and the agent uses OAuth2 Authorization Code Flow with PKCE for secure authentication. Sensitive credentials are correctly managed via environment variables. However, the agent's `aiohttp_cors` is configured with a highly permissive `*` origin allowing credentials, which is a significant security risk for production deployments. Additionally, the `JWTValidator` has a `ssl_verify=False` option (commented as for dev/testing) that, if used in production, would compromise security.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-02

Tags

AI ChatbotPet CareLangGraphOAuth2MCPAsgardeoVeterinary Assistant