Back to Home
Bin4yi icon

secure-ai-agent-with-asgardeo-and-mcp

Verified Safe

by Bin4yi

Overview

An AI-powered pet care chatbot system integrating a secured MCP server with an intelligent LangGraph agent, using Asgardeo for authentication and OpenAI for AI capabilities.

Installation

Run Command
python main.py

Environment Variables

  • AUTH_ISSUER
  • CLIENT_ID
  • JWKS_URL
  • OPENAI_API_KEY

Security Notes

The project uses robust OAuth2/OIDC authentication with Asgardeo and JWT token validation via JWKS, which are good security practices. Environment variables are correctly used for credentials, with warnings against committing them. However, the default CORS policy (`allow_credentials=True, expose_headers='*', allow_headers='*', allow_methods='*'`) is very permissive and should be restricted to specific origins for a production deployment. The `ssl_verify=False` option for development is mentioned in comments, which, while not active by default, points to a potential development pattern that should be avoided in production.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens800
Stars0
Forks0
Last Update2025-12-02

Tags

AIChatbotOAuth2MCPLangGraph