Skip to main content

Memory/Knowledge Graph MCP Server for IDE Assistants - Persistent context and knowledge for AI coding agents

Project description

MCP-KG-Memory Server

Python MCP server implementation with Neo4j backend.

Development Setup

# Create virtual environment
python -m venv .venv
source .venv/bin/activate

# Install dependencies (including dev)
pip install -e ".[dev]"

# Run tests
pytest tests/ -v

# Run server
python -m kg_mcp.main

Project Structure

src/kg_mcp/
├── main.py           # Entry point
├── config.py         # Settings management
├── llm/              # LLM integration
│   ├── client.py     # LiteLLM wrapper
│   ├── schemas.py    # Pydantic models
│   └── prompts/      # Prompt templates
├── kg/               # Knowledge graph
│   ├── neo4j.py      # Driver/client
│   ├── schema.cypher # DB schema
│   ├── repo.py       # Query repository
│   ├── ingest.py     # Ingestion pipeline
│   └── retrieval.py  # Context builder
├── mcp/              # MCP components
│   ├── tools.py      # Tool definitions
│   ├── resources.py  # Resource handlers
│   └── prompts.py    # Prompt templates
├── codegraph/        # Code indexing (V1)
│   ├── model.py      # Data models
│   └── indexer.py    # File indexer
└── security/         # Auth/Origin
    ├── auth.py       # Token validation
    └── origin.py     # Origin checking

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kg_mcp-0.1.8.tar.gz (57.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kg_mcp-0.1.8-py3-none-any.whl (64.9 kB view details)

Uploaded Python 3

File details

Details for the file kg_mcp-0.1.8.tar.gz.

File metadata

  • Download URL: kg_mcp-0.1.8.tar.gz
  • Upload date:
  • Size: 57.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kg_mcp-0.1.8.tar.gz
Algorithm Hash digest
SHA256 7b9970ace68f6a054b4b832abb3e4eb5b2bd4e5438d35a3b01b197788124b2cb
MD5 d8122a6d7d638a24d6802d1185356850
BLAKE2b-256 60538f1acf029881a314fa412cb1e3beeb96296fb410f529b45abb9040a1078e

See more details on using hashes here.

Provenance

The following attestation bundles were made for kg_mcp-0.1.8.tar.gz:

Publisher: publish.yml on Hexecu/mcp-neuralmemory

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kg_mcp-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: kg_mcp-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 64.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kg_mcp-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5533544bb82be65eaaab2c4802e81d37b68a9adb81e1cc35b77e073f65686452
MD5 ad0fdb88bd73b079e6cf23961a45c4b6
BLAKE2b-256 90a0e04f61cbbd0324994637730d55497dbe47c78ea216a31338ef0d47e80eed

See more details on using hashes here.

Provenance

The following attestation bundles were made for kg_mcp-0.1.8-py3-none-any.whl:

Publisher: publish.yml on Hexecu/mcp-neuralmemory

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page