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
Related MCP server: OpenAI SDK Knowledge MCP Server
๐ 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
Available Tools
2 toolsserver_statusC
Cek status server.
Returns: Status server
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It only states it checks status but does not confirm read-only nature, authentication needs, or any side effects. The return value is ambiguously described as 'Status server'.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is very short with two sentences. It is concise and front-loaded with the core action. However, the second line ('Returns: Status server') is somewhat redundant and could be integrated or expanded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no parameters but an output schema exists, the description does not need to detail return values extensively. However, it fails to provide any behavioral context (e.g., what the status indicates) or usage context alongside sibling tools, making it minimally complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There are zero parameters, and the schema coverage is 100% by default. The description adds no parameter information, but none is needed. Baseline score of 4 is appropriate as no additional param context is required.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states 'Cek status server' which clearly indicates the tool checks server status. However, it is vague about what exactly 'Status server' entails, and it does not differentiate from sibling tool 'tanya_pdp' beyond implied resource difference.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. The description lacks any context about prerequisites, typical scenarios, or exclusions, leaving the agent without decision criteria.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
tanya_pdpC
Menjawab pertanyaan tentang UU PDP.
Args: pertanyaan: Pertanyaan tentang UU PDP
Returns: Jawaban
| Name | Required | Description | Default |
|---|---|---|---|
| pertanyaan | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description must fully disclose behavioral traits. It only mentions it returns an answer, but lacks details on authentication, rate limits, error handling, or return format. The output schema exists but is not described.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is very short and front-loaded, but it sacrifices necessary detail for brevity. It efficiently conveys the basic purpose but lacks depth, making it minimally acceptable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given a simple tool with one parameter, the description should be complete. However, it omits expected input format, language, and response structure. The output schema exists but is not explained, leaving the agent uncertain.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It merely repeats the parameter name ('pertanyaan: Pertanyaan tentang UU PDP') without adding meaningful constraints, format, or examples. This adds little beyond the schema itself.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool answers questions about UU PDP (Indonesian Data Protection Law), providing a specific verb and resource. However, it does not explicitly distinguish from the sibling tool 'server_status', though the domains are different.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is given on when to use this tool versus alternatives. There is no mention of context, prerequisites, or exclusions. The description simply states what the tool does without usage direction.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
2 tool updates
v0.1.0- First observed
server_status - First observed
tanya_pdp
TDQS
The two tools have completely distinct purposes: one checks server status, the other answers questions about PDP law. There is no overlap or confusion possible.
Both tools use snake_case, but 'server_status' is noun_noun while 'tanya_pdp' is verb_noun. Also, one is in English and the other in Indonesian, a minor inconsistency.
With only 2 tools, the server feels thin. While it might be acceptable for a very narrow purpose, typically a PDP law server would need more tools for comprehensive coverage.
The server only offers server status and Q&A. Missing essential operations like searching articles, listing definitions, or providing document references, leaving significant gaps for an agent.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
The CustomGPT.ai MCP server is a fully managed, RAG-powered endpoint that connects large language models with private knowledge bases and external data sources. It provides tools for retrieval-augmented generation queries (send_message), data ingestion (upload_file), and source listing, enabling AI agents to query private documents like PDFs with high accuracy and real-time citations.
AI governance MCP server for EU AI Act compliance and jurisdiction verification
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that implements Retrieval-Augmented Generation to efficiently retrieve and process important information from various sources, providing accurate and contextually relevant responses.-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides expert knowledge on the OpenAI API, powered by RAG. It enables users to ask technical questions and get accurate answers, with support for search and fetch tools.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that indexes documents and serves relevant context to LLMs via Retrieval Augmented Generation (RAG).4837MIT
- AlicenseNot gradedqualityDmaintenanceA generic MCP server for conversational AI document research using the Pinecone Assistant API, providing customizable RAG knowledge base access without embedding complexities.1MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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