Skip to content

Commit 6387acb

Browse files
authored
Kgrag mcp server (github#248)
* feat: aggiungere configurazione del server Knowledge Graph MCP * feat: aggiornare la configurazione del server KGraph MCP e aggiungere strumenti per query, ingestione ed estrazione
1 parent d221d45 commit 6387acb

2 files changed

Lines changed: 165 additions & 0 deletions

File tree

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
name: kgrag-mcp-server
2+
image: mcp/kgrag_mcp_server
3+
type: server
4+
meta:
5+
category: productivity
6+
tags:
7+
- knowledge-graph
8+
- search
9+
- productivity
10+
about:
11+
title: Knowledge Graph MCP Server
12+
description: |-
13+
Manage, ingest, and query structured/unstructured data.
14+
Designed to integrate with Neo4j, AWS S3, Redis, Qdrant, and LLMs.
15+
icon: https://avatars.githubusercontent.com/u/6775950?v=4
16+
17+
source:
18+
project: https://github.com/gzileni/kgrag_mcp_server
19+
branch: main
20+
21+
config:
22+
description: Configure the connection to the Knowledge Graph MCP Server
23+
env:
24+
- name: LLM_MODEL_TYPE
25+
example: ollama
26+
value: '{{kgrag-mcp-server.llm_model_type}}'
27+
- name: LLM_MODEL_NAME
28+
example: llama3.2
29+
value: '{{kgrag-mcp-server.llm_model_name}}'
30+
- name: API_KEY
31+
example: sk-...
32+
value: '{{kgrag-mcp-server.api_key}}'
33+
- name: LLM_URL
34+
example: http://localhost:11434
35+
value: '{{kgrag-mcp-server.llm_url}}'
36+
- name: TEMPERATURE
37+
example: "0.5"
38+
value: '{{kgrag-mcp-server.temperature}}'
39+
40+
# Vectors & Collections
41+
- name: VECTORDB_SENTENCE_MODEL
42+
example: BAAI/bge-small-en-v1.5
43+
value: '{{kgrag-mcp-server.vectordb_sentence_model}}'
44+
- name: COLLECTION_NAME
45+
example: kgrag_data
46+
value: '{{kgrag-mcp-server.collection_name}}'
47+
48+
# Model embedding
49+
- name: MODEL_EMBEDDING
50+
example: nomic-embed-text
51+
value: '{{kgrag-mcp-server.model_embedding}}'
52+
- name: LLM_EMBEDDING_URL
53+
example: http://localhost:11434
54+
value: '{{kgrag-mcp-server.llm_embedding_url}}'
55+
56+
# AWS
57+
- name: AWS_ACCESS_KEY_ID
58+
example: AK...
59+
value: '{{kgrag-mcp-server.aws_access_key_id}}'
60+
- name: AWS_SECRET_ACCESS_KEY
61+
example: cG....
62+
value: '{{kgrag-mcp-server.aws_secret_access_key}}'
63+
- name: AWS_REGION
64+
example: eu-central-1
65+
value: '{{kgrag-mcp-server.aws_region}}'
66+
- name: AWS_BUCKET_NAME
67+
example: my_bucket
68+
value: '{{kgrag-mcp-server.aws_bucket_name}}'
69+
70+
parameters:
71+
type: object
72+
properties:
73+
llm_model_type:
74+
type: string
75+
default: ollama
76+
description: LLM provider (e.g., ollama, openai)
77+
llm_model_name:
78+
type: string
79+
default: llama3.2
80+
description: Name of the LLM model to use
81+
api_key:
82+
type: string
83+
description: API key for the LLM provider (not required for local Ollama)
84+
llm_url:
85+
type: string
86+
default: http://localhost:11434
87+
description: Base URL of the LLM provider or gateway (e.g., Ollama/OpenAI proxy)
88+
temperature:
89+
type: number
90+
default: 0.5
91+
description: Sampling temperature (range 0–2)
92+
93+
# Vectors & Collections
94+
vectordb_sentence_model:
95+
type: string
96+
default: BAAI/bge-small-en-v1.5
97+
description: Sentence embedding model for the vector database
98+
collection_name:
99+
type: string
100+
default: kgrag_data
101+
description: Name of the collection/index in the vector database
102+
103+
# Model embedding
104+
model_embedding:
105+
type: string
106+
default: nomic-embed-text
107+
description: Model used for generating embeddings
108+
llm_embedding_url:
109+
type: string
110+
default: http://localhost:11434
111+
description: Endpoint for generating embeddings
112+
113+
# AWS (optional)
114+
aws_access_key_id:
115+
type: string
116+
description: AWS Access Key ID
117+
aws_secret_access_key:
118+
type: string
119+
description: AWS Secret Access Key
120+
aws_region:
121+
type: string
122+
default: eu-central-1
123+
description: AWS region
124+
aws_bucket_name:
125+
type: string
126+
description: AWS S3 bucket name
127+
required:
128+
- llm_model_type
129+
- llm_model_name
130+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[
2+
{
3+
"name": "query",
4+
"description": "Query the KGraph system with a specific query string.",
5+
"arguments": [
6+
{
7+
"name": "prompt",
8+
"type": "string",
9+
"desc": "The query string to search for."
10+
}
11+
]
12+
},
13+
{
14+
"name": "ingestion",
15+
"description": "Ingest a path of file into the KGraph system.",
16+
"arguments": [
17+
{
18+
"name": "path",
19+
"type": "string",
20+
"desc": "The file path to ingest into the KGraph system."
21+
}
22+
]
23+
},
24+
{
25+
"name": "extract",
26+
"description": "Extract graph data from a document using the KGraph system.",
27+
"arguments": [
28+
{
29+
"name": "text",
30+
"type": "string",
31+
"desc": "The nodes, entities and relations to extract information from."
32+
}
33+
]
34+
}
35+
]

0 commit comments

Comments
 (0)