MCP Space is a no-code platform for building and deploying AI tools using the Model Context Protocol (MCP). Create powerful AI agents through an intuitive chat interface without writing code, then deploy with one click to Cloudflare Workers. Combines a Next.js frontend with Google ADK backend for a seamless AI development experience.
MCP Space is a no-code platform that allows users to build and deploy AI tools using the Model Context Protocol (MCP). It provides an AI-assisted chat...
16username = os.getenv("DB_USERNAME")
17password = os.getenv("DB_PASSWORD")
18dbname = os.getenv("DB_NAME")
19port = int(os.getenv("DB_PORT", 6543))
20host = os.getenv("DB_HOST")
21
22db_url = f"postgresql+psycopg2://{username}:{password}@{dbname}:{port}/{host}"// Exploitable if MCP is exposed to untrusted prompts or if logs are accessible.
10url: str = os.getenv("SUPABASE_URL")
11key: str = os.getenv("SUPABASE_KEY")
12
13supabase: Client = create_client(url, key)// Exploitable if MCP is exposed to untrusted prompts or if logs are accessible.
20genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
21
22model = genai.GenerativeModel(config.GEMINI_MODEL_1, generation_config={
23 "temperature": 0.0,
24})// Exploitable if MCP is exposed to untrusted prompts or if logs are accessible.
10experimental: {
11 serverComponentsExternalPackages: ['fs', 'path', 'child_process'],
12 },// Exploitable if MCP is exposed to untrusted prompts or if an attacker can trigger server-side code execution.
27def compare_query_json(query: str, json_data: Any) -> Dict[str, float]:
28 PROMPT = f"""
29 ...
30 Query: {query}
31 JSON: {json_data}
32 """
33 response = model.generate_content(PROMPT)// Exploitable if MCP is exposed to untrusted prompts.
82- If the query contains update command format:
83 * Command: Update the tool **tool name: **TOOLNAME - [update request]
84 * Or: Command: Update **tool name: **TOOLNAME - [update request]
85 * Forward to information_collector_agent to:
86 * Parse the previous Specification Summary
87 * Create an updated Specification Summary based on the update request
88 * Present the FULL updated specification to the user for confirmation// Exploitable if MCP is exposed to untrusted prompts.