Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.

Deployment: Dockerfile and Smithery config #3

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config
FROM python:3.13-slim

# Set working directory
WORKDIR /app

# Copy application source
COPY . .

# Install dependencies
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir .

# Default command to start the MCP server
CMD ["python", "server.py"]
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 🚀 Memgraph MCP Server

[![smithery badge](https://smithery.ai/badge/@memgraph/mcp-memgraph)](https://smithery.ai/server/@memgraph/mcp-memgraph)

Memgraph MCP Server is a lightweight server implementation of the Model Context Protocol (MCP) designed to connect Memgraph with LLMs.

![mcp-server](./mcp-server.png)
Expand All @@ -8,6 +10,14 @@ Memgraph MCP Server is a lightweight server implementation of the Model Context

> 📹 [Memgraph MCP Server Quick Start video](https://www.youtube.com/watch?v=0Tjw5QWj_qY)

### Installing via Smithery

To install Memgraph MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@memgraph/mcp-memgraph):

```bash
npx -y @smithery/cli install @memgraph/mcp-memgraph --client claude
```

### 1. Run Memgraph MCP Server

1. Install [`uv`](https://docs.astral.sh/uv/getting-started/installation/) and create `venv` with `uv venv`. Activate virtual environment with `.venv\Scripts\activate`.
Expand Down
14 changes: 14 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Smithery configuration file: https://smithery.ai/docs/build/project-config

startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
properties: {}
description: Start the Memgraph MCP Server
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({ command: 'python', args: ['server.py'] })
exampleConfig: {}