Back to Home
ashen-dusk icon

mcp-hub

by ashen-dusk

Overview

Manages, connects to, and interacts with Model Context Protocol (MCP) servers using AI agents and a GraphQL API, providing category-based organization and user-isolated state.

Installation

Run Command
uv run uvicorn assistant.asgi:application --reload

Environment Variables

  • SECRET_KEY
  • DEBUG
  • ALLOWED_HOSTS
  • GOOGLE_CLIENT_ID
  • OPENAI_API_KEY
  • DEEPSEEK_API_KEY
  • TAVILY_API_KEY
  • REDIS_URL
  • NEXT_PUBLIC_APP_URL
  • BACKEND_URL
  • OPENROUTER_API_KEY

Security Notes

The server allows configuration of `stdio` transport type for MCP servers, which executes arbitrary commands and arguments directly on the host machine. If an authenticated user (even an owner, not just admin) can configure `command` and `args` in the `MCPServer` model, it creates a severe remote code execution vulnerability. There is no explicit input sanitization or whitelisting for these fields. Additionally, the system makes dynamic external requests to `server.url` during OAuth discovery, token exchange, and FastMCP client operations, which could potentially expose the backend to SSRF or other network-based attacks if `server.url` is controlled by a malicious actor and not adequately validated beyond basic URL parsing.

Similar Servers

Stats

Interest Score0
Security Score5
Cost ClassHigh
Avg Tokens7500
Stars0
Forks0
Last Update2026-01-18

Tags

MCPAI AgentLangGraphDjangoGraphQLRedis