Back to Home
Elhan1505 icon

mcp-framework-server

Verified Safe

by Elhan1505

Overview

A Python-based server for a Model Context Protocol (MCP) enabling interactive career orientation (proforientation) dialogues via a REST API, designed to integrate with a Telegram bot.

Installation

Run Command
uvicorn src.api:app --host 0.0.0.0 --port 8000

Environment Variables

  • ANTHROPIC_API_KEY
  • DATABASE_URL
  • FRAMEWORKS_PATH

Security Notes

The server uses `os.getenv` for sensitive keys like `ANTHROPIC_API_KEY` and `DATABASE_URL`, preventing hardcoding. The framework loading mechanism (`_load_framework_sections`) correctly restricts file access to `.md` files within the designated `frameworks` directory, mitigating path traversal vulnerabilities. Database interactions use `psycopg2` which is standard. There are no obvious signs of `eval` or similar dangerous functions. The `bothelp_payment_webhook` endpoint simply logs incoming JSON without complex processing, reducing risk. Robust system prompts are used to guide the AI model, aiming to prevent prompt injection and information leakage, although this is more about AI behavior than code security.

Similar Servers

Stats

Interest Score31
Security Score8
Cost ClassHigh
Avg Tokens4500
Stars1
Forks0
Last Update2025-12-13

Tags

AI-poweredCareer GuidanceFastAPIPostgreSQLAnthropic Claude