- Home
- MCP servers
- LGPD
LGPD
- typescript
0
GitHub Stars
typescript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"lordmendes-lgpd-mcp": {
"command": "npx",
"args": [
"@lordmendes/lgpd-mcp"
]
}
}
}You run LGPD MCP Server to assist organizations and developers in complying with LGPD by providing tools, references, and prompts to validate legal bases, consent, documents, PIA, policies, data subject rights, and risk assessments. This server can operate in local stdio mode or as a remote HTTP service, enabling integration with MCP clients and automated workflows.
How to use
You can operate the LGPD MCP Server in two modes: local stdio and remote HTTP. In stdio mode, you start the server and connect MCP clients directly through standard input/output. In HTTP mode, you run the server as a remote endpoint that accepts requests over HTTP and exposes the /mcp endpoint for MCP clients to consume.
How to install
Prerequisites: ensure you have Node.js 18 or newer installed. You should also have one of the following package managers available: pnpm, npm, or yarn.
Via npm (recommended)
npx @lordmendes/lgpd-mcp
Alternatively, you can install the MCP server globally and run it from anywhere.
npm install -g @lordmendes/lgpd-mcp
lgpd-mcp
Via repository
If you prefer to build from source, clone the repository, install dependencies, and build the project.
git clone https://github.com/LordMendes/lgpd-mcp.git
cd lgpd-mcp
# Install dependencies
pnpm install
# or: npm install
# or: yarn install
# Compile for production
pnpm build
Starting the server after build
Once the project is built, you can run the compiled server in standard or HTTP mode according to your needs.
# Standard stdio mode using the published package
npx @lordmendes/lgpd-mcp
# Development locally using TypeScript source
npx tsx src/index.ts
Starting the HTTP remote server
To run as a remote HTTP server, start the HTTP mode and listen on the configured port. The server provides an HTTP endpoint for MCP clients to post requests.
pnpm start:http
# or: npx tsx src/http.ts
Testing with MCP Inspector
Validate MCP integration and behavior using the MCP Inspector tooling by running the inspector against the server.
pnpm test:mcp
# or: npx @modelcontextprotocol/inspector npx tsx src/index.ts
Configuration
There are separate configuration guides for Cursor and Claude Desktop. These guides explain how to connect the MCP server to those clients and tailor the data flows to your environment.
Environment variables
The HTTP remote mode uses MCP_PORT to define the listening port. The default port is 3000. See the example for reference in the environment setup.
Documentation notes
The server provides publishing and tooling references, resource descriptions, prompts, configuration guidance for Cursor and Claude Desktop, and an HTTP transport section for remote usage. It also includes a legal notice about not substituting professional legal advice and security best practices.
Scripts
Common project scripts help you develop, build, test, lint, and format the codebase.
Important notes
All tools are intended to assist with LGPD compliance and do not replace specialized legal counsel. Always consult a qualified attorney or data protection advisor for legal decisions. For official guidance, refer to the ANPD.
License
MIT license.