PDP MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PDP MCP ServerApa saja hak-hak saya sebagai subjek data menurut UU PDP?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PDP MCP Server
MCP Server untuk menjawab pertanyaan seputar UU Nomor 27 Tahun 2022 tentang Perlindungan Data Pribadi (UU PDP) menggunakan RAG (Retrieval-Augmented Generation) dengan Pinecone sebagai vector database.
๐ Features
RAG-powered Q&A: Menjawab pertanyaan berdasarkan isi UU PDP
6 MCP Tools:
tanya_pdp- Pertanyaan umum tentang UU PDPcari_pasal- Cari pasal berdasarkan nomor/keyworddefinisi_istilah- Cari definisi istilah hukumhak_subjek_data- Hak-hak pemilik data pribadikewajiban_pengendali- Kewajiban pengendali/prosesor datasanksi_pelanggaran- Sanksi administratif dan pidana
๐ Requirements
Python 3.11+
Pinecone Account (Free tier available)
OpenAI API Key
๐ ๏ธ Installation
Clone repository:
git clone <repository-url>
cd pdp-mcp-serverCreate virtual environment:
python -m venv venv
source venv/bin/activate # Linux/Mac
# atau
.\venv\Scripts\activate # WindowsInstall dependencies:
pip install -r requirements.txtSetup environment variables:
cp .env.example .env
# Edit .env dengan API keys Anda๐ Data Ingestion
Ekstrak PDF UU PDP:
python scripts/extract_pdf.pyIngest data ke Pinecone:
python scripts/ingest_data.py๐ฅ๏ธ Running the Server
python -m src.server๐งช Testing
pytest tests/ -v๐ Usage with Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"pdp-assistant": {
"command": "python",
"args": ["-m", "src.server"],
"cwd": "/path/to/pdp-mcp-server"
}
}
}๐ License
MIT License
๐ References
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/VibeCoding4-JC/pdp-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server