Back to Home
rodrigo-loayza icon

kg-mcp-server

by rodrigo-loayza

Overview

An academic Model Context Protocol (MCP) server for Computer Science, providing contextualized information, code analysis, prerequisite navigation, and prompt generation by integrating vector search (RAG) with a Neo4j knowledge graph.

Installation

Run Command
python runtime_mcp/academic_mcp_server.py

Environment Variables

  • PYTHONPATH

Security Notes

The Neo4j database credentials (URI, user, password) are hardcoded in `config/config.yaml`. This is a critical security risk as these credentials could be exposed if the configuration file is committed to a public repository or used in an insecure environment. The server loads pre-built HNSW index and embedding files, which could pose a risk if generated from untrusted sources, though paths are fixed in this implementation. The `server_sse.py` variant exposes a network endpoint (0.0.0.0:8765), which could be a risk if not properly firewalled.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassHigh
Avg Tokens3500
Stars0
Forks0
Last Update2025-11-30

Tags

AIRAGKnowledge GraphEducationMCP Server