ontology-mcp-server-RL-Stable-Baselines3
Verified Safeby shark8848
Overview
An AI agent for e-commerce, integrating ontology-based reasoning, business logic, memory systems, and a Gradio UI to simulate a complete shopping experience, enhanced with Reinforcement Learning capabilities for continuous self-improvement in tool orchestration strategies.
Installation
docker-compose up -dEnvironment Variables
- OPENAI_API_KEY
- MCP_BASE_URL
- ONTOLOGY_DATA_DIR
- LLM_PROVIDER
Security Notes
The project uses `eval` in `src/ontology_mcp_server/ecommerce_ontology.py` to evaluate rule conditions loaded from local `.ttl` files. While attempts are made to validate the Abstract Syntax Tree (`_validate_condition_ast`), modification of these trusted local `.ttl` files by an attacker could lead to arbitrary code execution. Another instance of `eval` in `src/agent/mcp_adapter.py` for mathematical expressions is tightly constrained to basic arithmetic operations and poses minimal risk. Overall, the project is relatively safe assuming local configuration and ontology files are trusted and cannot be tampered with by external actors.
Similar Servers
MaxKB
MaxKB (Max Knowledge Brain) is an enterprise-grade intelligent agent platform designed to lower the technical barrier and deployment costs of AI implementation, helping businesses quickly integrate mainstream large language models, build proprietary knowledge bases, and offer a progressive upgrade path from RAG to complex workflow automation and advanced agents for various application scenarios like smart customer service and office assistants.
concierge
A framework for building and serving agentic workflows, enabling autonomous agents to interact with application services through structured stages and tasks.
mcp-reference-server
Standardize and manage fulfillment operations for AI agents by providing a universal interface to various fulfillment systems.
groceries-mcp
Orchestrates automated grocery shopping using an LLM agent that interacts with various grocery vendor APIs via Model Context Protocol (MCP) tools.