Skip to content
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
49 changes: 49 additions & 0 deletions docs/weaviate/mcp/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
title: Weaviate MCP server
sidebar_label: MCP
# tags: ["mcp"]
---

## Docker Compose setup

```yaml
services:
weaviate-auth:
image: docker.io/semitechnologies/weaviate:1.35.0-dev-cca9917.arm64@sha256:aff8c1f53e2ddaa8dfbbb6f222099c84135195d4d03b3521c006566df0aba322
restart: on-failure:0
ports:
- "8080:8080"
- "9000:9000"
- "50051:50051"
environment:
PERSISTENCE_DATA_PATH: "./data-auth"
ENABLE_MODULES: "backup-filesystem"
API_BASED_MODULES_DISABLED: "true"
BACKUP_FILESYSTEM_PATH: "/var/lib/backups"
AUTHENTICATION_APIKEY_ENABLED: "true"
AUTHENTICATION_APIKEY_ALLOWED_KEYS: "viewer-key,editor-key,admin-key,custom-key"
AUTHENTICATION_APIKEY_USERS: "viewer-user,editor-user,admin-user,custom-user"
AUTHENTICATION_DB_USERS_ENABLED: "true"
AUTHORIZATION_RBAC_ENABLED: "true"
AUTHORIZATION_RBAC_ROOT_USERS: "admin-user"
```

## Claude Desktop config

```json title="claude_desktop_config.json"
{
"mcpServers": {
"Weaviate": {
"command": "/Users/ivandespot/.local/bin/mcp-proxy",
"args": [
"http://localhost:9001/mcp",
"--headers",
"Authorization",
"Bearer admin-key",
"--transport",
"streamablehttp"
]
}
}
}
```
2 changes: 1 addition & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const sidebars = {
type: "doc",
id: "weaviate/best-practices/code-generation",
},
items: ["weaviate/mcp/docs-mcp-server"],
items: ["weaviate/mcp/index","weaviate/mcp/docs-mcp-server"],
},
{
type: "html",
Expand Down
31 changes: 31 additions & 0 deletions tests/docker-compose-mcp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
services:
weaviate-auth:
image: docker.io/semitechnologies/weaviate:1.35.0-dev-cca9917.arm64@sha256:aff8c1f53e2ddaa8dfbbb6f222099c84135195d4d03b3521c006566df0aba322
restart: on-failure:0
ports:
- "8081:8080"
- "6061:6060"
- "9001:9000"
- "2113:2112"
- "7103:7101"
- "50052:50051"
environment:
LOG_LEVEL: "debug"
QUERY_DEFAULTS_LIMIT: 20
PERSISTENCE_DATA_PATH: "./data-auth"
ENABLE_MODULES: backup-filesystem,generative-dummy,reranker-dummy
API_BASED_MODULES_DISABLED: "true"
BACKUP_FILESYSTEM_PATH: "/var/lib/backups"
CLUSTER_GOSSIP_BIND_PORT: "7102"
CLUSTER_DATA_BIND_PORT: "7103"
CLUSTER_HOSTNAME: "weaviate-auth-test"
RAFT_JOIN: "weaviate-auth-test"
RAFT_BOOTSTRAP_EXPECT: "1"
DISABLE_TELEMETRY: "true"
DISABLE_RECOVERY_ON_PANIC: "true"
AUTHENTICATION_APIKEY_ENABLED: "true"
AUTHENTICATION_APIKEY_ALLOWED_KEYS: "viewer-key,editor-key,admin-key,custom-key"
AUTHENTICATION_APIKEY_USERS: "viewer-user,editor-user,admin-user,custom-user"
AUTHENTICATION_DB_USERS_ENABLED: "true"
AUTHORIZATION_RBAC_ENABLED: "true"
AUTHORIZATION_RBAC_ROOT_USERS: "admin-user"