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.6.tar.gz (56.3 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.6-py3-none-any.whl (63.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kg_mcp-0.1.6.tar.gz
  • Upload date:
  • Size: 56.3 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.6.tar.gz
Algorithm Hash digest
SHA256 2ab6b6e9e29e7baec37000f1edbce63d9128cc281681f3bb2faa04ab598e92a1
MD5 62d1e22bef4238629be5e4c9f9cc752e
BLAKE2b-256 eec44b06b8cafea111d09e7551757ff9be743ff0c2e1d13699c789ff2d60e2fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for kg_mcp-0.1.6.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.6-py3-none-any.whl.

File metadata

  • Download URL: kg_mcp-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 63.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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 42a2207a209e596aa3686df33b0e02ed53a2c916f02ac8f6403e296f3b31af05
MD5 366177ebb22b5c3166c3e11b50b95f24
BLAKE2b-256 0e25c09c19be4b4c6b07f904753a440a8d9b4c42e73680dc6e63c82a69af7080

See more details on using hashes here.

Provenance

The following attestation bundles were made for kg_mcp-0.1.6-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