A Model Context Protocol server that provides access to ldbc documents. This server allows the LLM to inspect ldbc documents, answer questions, and perform tutorials.
There are several ways to install and configure the MCP server:
To manually configure the MCP server for Visual Studio Code, add the following to your settings.json file (usually located in your user directory)
{
"files.autoSave": "afterDelay",
"mcp": {
"inputs": [],
"servers": {
"mcp-ldbc-document-server": {
"command": "npx",
"args": [
"@ldbc/mcp-document-server"
],
"env": {}
}
}
}
}
To manually configure the MCP server for Claude Desktop App, add the following to your claude_desktop_config.json file (typically located in your user directory):
{
"mcpServers": {
"mcp-ldbc-document-server": {
"command": "npx",
"args": [
"@ldbc/mcp-document-server"
],
"env": {}
}
}
}
For manual installation:
# Using npm
npm install -g @ldbc/mcp-document-mysql
# Using pnpm
pnpm add -g @ldbc/mcp-document-mysql
After manual installation, you'll need to configure your LLM application to use the MCP server (see Configuration section below).
If you want to clone and run this MCP server directly from the source code, follow these steps:
- Clone the repository
git clone git@github.com:takapi327/ldbc.git
- Install dependencies
npm install
# or
pnpm install
- Build the project
sbt docs/tlSite
sbt mcpDocumentServer/npmPackage
- Configure Visual Studio Code
Add the following to the Visual Studio Code settings file (settings.json)
{
"files.autoSave": "afterDelay",
"mcp": {
"inputs": [],
"servers": {
"mcp-ldbc-document-server": {
"command": "/path/to/node",
"args": [
"/full/path/to/ldbc/mcp/document-server/.js/target/scala-x.x.x/npm-package/main.js"
],
"env": {}
}
}
}
}
Replace:
- /path/to/node with the full path to your Node.js binary (find it with which node)
- /full/path/to/ldbc/mcp/document-server/... with the full path to where you cloned the repository
Use verdaccio for local verification.
First, start verdaccio using docker.
docker compose up -d
After startup, users are created using the verdaccio server port. (* First time startup only)
npm adduser --registry http://localhost:4873
Then enter your username, password, and email address.
Build the code.
sbt mcpDocumentServer/npmPackage
sbt mcpDocumentServer/npmPackageNpmrc
Go to the generated npm-package directory.
cd mcp/document-server/.js/target/scala-x.x.x/npm-package
Upload against verdaccio.
npm publish --registry http://localhost:4873