Version: 1.0.1
Author: cdemir
License: ISC
MCP-RDF is a Node.js server that utilizes the Model Context Protocol (MCP) to manage and interact with RDF-based Knowledge Graphs. It integrates real-time communication through Socket.IO and leverages modern inference libraries such as HuggingFace for intelligent reasoning.
- RDF Knowledge Graph support
- Real-time communication with Socket.IO
- HuggingFace inference integration
- TypeScript support
- Environment configuration with dotenv
- Built using the Model Context Protocol SDK
# Clone the repository
git clone https://github.com/Demirrr/mcp-rdf
cd mcp-rdf
# Install dependencies
npm install
npm run build && npm start
Make sure to build the project before starting.
Create a .env
file to configure environment variables required by the server:
# Example:
PORT=3000
.
├── src/ # TypeScript source files
├── dist/ # Compiled JavaScript output
├── .env # Environment variables (not committed)
├── package.json # Project configuration
├── tsconfig.json # TypeScript configuration
└── README.md # Project documentation
@huggingface/inference
- Inference API for machine learning models@modelcontextprotocol/sdk
- SDK for the Model Context Protocoldotenv
- Load environment variablessocket.io
- Real-time communication library
typescript
- TypeScript language support@types/node
- Node.js type definitions@types/socket.io
- TypeScript definitions for Socket.IO
npm run build
– Compile TypeScript code into JavaScript (dist/
)npm start
– Run the server from the compiled outputnpm test
– Placeholder for test scripts
Contributions are welcome! Please open an issue or submit a pull request.
© cdemir, 2025