ekaone/mcp-tools
Click on "Deploy 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., "@ekaone/mcp-tools Mask this credit card: 4532-1234-5678-9012"
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.
@ekaone/mcp-tools
Under Active Development
MCP (Model Context Protocol) server exposing @ekaone utility tools for AI-assisted data masking via stdio transport.
Tools
Tool | Package | Description |
|
| Masks credit/debit card numbers (PCI DSS compliant) |
|
| Masks email addresses for privacy protection |
Related MCP server: postgres-safe-mcp
Usage
1. With MCP Clients (Windsurf, Cursor, VS Code, Claude Desktop)
Add this configuration to your MCP client:
{
"mcpServers": {
"masker": {
"command": "npx",
"args": [
"@ekaone/mcp-tools@latest"
]
}
}
}2. With Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"masker": {
"command": "npx",
"args": [
"@ekaone/mcp-tools@latest"
]
}
}
}Then just talk to Claude naturally:
"Hide all card numbers in this table"
"Mask the email john.doe@example.com"
"Show only last 4 digits of this card: 4532-1234-5678-9012"3. Available Commands
Once connected, you can use these commands:
Mask email addresses: "Can you mask this email: user@domain.com?"
Mask card numbers: "Please mask this credit card: 4532-1234-5678-9012"
Custom masking: "Mask this card showing only first 4 digits: 4532-1234-5678-9012"
Tool Reference
mask_card
Parameter | Type | Required | Default | Description |
|
| ✅ | — | Card number to mask |
|
| ❌ |
| Masking character |
|
| ❌ |
| Digits visible at start |
|
| ❌ |
| Digits visible at end |
Examples:
Input : "4532-1234-5678-9012"
Output: "************9012"
Input : "4532-1234-5678-9012", unmaskedStart: 4
Output: "4532********9012"
Input : "4532-1234-5678-9012", maskChar: "•"
Output: "••••••••••••9012"mask_email
Parameter | Type | Required | Default | Description |
|
| ✅ | — | Email address to mask |
|
| ❌ |
| Masking character |
|
| ❌ |
| Characters visible at start |
|
| ❌ |
| Also mask the domain |
Examples:
Input : "john.doe@example.com"
Output: "jo******@example.com"
Input : "john.doe@example.com", visibleChars: 4
Output: "john**@example.com"
Input : "john.doe@example.com", maskDomain: true
Output: "jo******@e******.com"Local Development
# Install dependencies
pnpm install
# Development with hot reload
pnpm dev
# Run tests
pnpm test
# Build for production
pnpm build
# Test the built package locally
pnpm startTesting Locally
Test the MCP server locally:
# Build first
pnpm build
# Test stdio communication
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | node dist/index.jsPublishing
# Build and test before publishing
pnpm run prepublishOnly
# Publish to NPM
pnpm publishBranch Structure
This repository has two main branches:
stdio(current branch) - For stdio MCP client usage (this README)HTTP/SSE- For HTTP/SSE endpoint deployment
License
MIT © Eka Prasetia
Links
⭐ If this library helps you, please consider giving it a star on GitHub!
Available Tools
2 toolsmask_cardA
Masks a credit or debit card number to protect sensitive payment information. Use when the user wants to hide, protect, or anonymize card numbers in a table, display, or logs. Supports Visa, Mastercard, Amex, Discover, JCB, and all major card types. Follows PCI DSS compliance by default (shows last 4 digits only).
Inputs: value (required), maskChar, unmaskedEnd, unmaskedStart.
mask_emailA
Masks an email address to protect user privacy. Use when the user wants to hide, anonymize, or partially obscure email addresses in a table, UI, or logs. By default shows the first 2 characters of the username and keeps the domain visible.
Inputs: email (required), maskChar, maskDomain, visibleChars.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools are clearly distinct: one masks credit/debit card numbers and the other masks email addresses. There is no overlap in their purposes.
Both tools follow the same verb_noun pattern: mask_card and mask_email. The naming is consistent and predictable.
With only two tools, the server feels somewhat thin. The count is borderline for the apparent purpose of data masking, though not excessively small.
The domain appears to be masking sensitive data, but only card and email are covered. Common types like phone numbers, SSNs, or IP addresses are missing, leaving notable gaps.
Maintenance
Related MCP Connectors
Cloud-hosted MCP server for secure AI access to enterprise data sources via CData Connect AI.
Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval
MCP gateway: one connection for your AI apps, with tool policies, PII redaction and audit logs.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that enables LLMs to detect and anonymize over 25 types of Personally Identifiable Information (PII) using Microsoft Presidio. It supports various redaction strategies and can process both plain text and structured data to help ensure data privacy.10MIT
- FlicenseNot gradedqualityDmaintenanceA PostgreSQL MCP server that automatically detects and obfuscates personally identifiable information (PII) in query results using column-name heuristics and NLP analysis. It enables AI agents to interact securely with databases by masking sensitive data by default while allowing selective unmasking under user control.4-
- AlicenseAqualityDmaintenanceAI-powered sensitive info detection and masking MCP server supporting 14+ types with regex, checksum, and optional LLM semantic detection, enabling flexible masking strategies like mask, replace, hash, and redact.6MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for automatic detection and redaction of PII in text, with anonymization and deanonymization capabilities, all local processing.1-