productivity-toolkit-mcp-server
Comprehensive MCP server offering password generation, QR code creation, Base64 encoding/decoding, UUID generation, and color palette tools with secure API key authentication.
README
Productivity Toolkit MCP Server
A comprehensive Model Context Protocol (MCP) server that provides essential productivity tools for developers and power users. This server offers secure, API-key authenticated access to password generation, QR code creation, Base64 encoding/decoding, UUID generation, and color palette tools.
Features
🔐 Password Generator - Create secure passwords with customizable options 📱 QR Code Tools - Generate QR codes and formatted data strings 🔄 Base64 Converter - Encode and decode text using Base64 🆔 UUID Generator - Generate unique identifiers (UUID v4) 🎨 Color Palette Generator - Create beautiful color schemes for design projects
Quick Start
Prerequisites
- Node.js 16+
- npm or yarn
- OpenSSL (for API key generation)
Installation
-
Clone the repository
git clone https://github.com/ForgeSynapse/mcp-toolkit-v1.git cd mcp-toolkit-v1 -
Install dependencies
npm install -
Generate API Key
openssl rand -hex 32 -
Set environment variable
export MCP_API_KEY="your_generated_api_key_here" -
Run the server
npx ts-node server.ts
Tools Reference
🔐 Password Generator
Generate secure passwords with customizable complexity.
Tool: generate-password
Parameters:
apiKey(string, required) - Authentication keylength(number, optional) - Password length (8-128, default: 16)includeNumbers(boolean, optional) - Include numbers (default: true)includeSymbols(boolean, optional) - Include symbols (default: true)includeUppercase(boolean, optional) - Include uppercase letters (default: true)includeLowercase(boolean, optional) - Include lowercase letters (default: true)
Example:
{
"apiKey": "your_api_key",
"length": 20,
"includeSymbols": true,
"includeNumbers": true
}
📱 QR Code Data Generator
Create formatted data strings for various QR code types.
Tool: generate-qr-data
Parameters:
apiKey(string, required) - Authentication keytype(enum, required) - QR code type:wifi,contact,url,textdata(object, required) - Type-specific data fields
WiFi QR Data:
{
"apiKey": "your_api_key",
"type": "wifi",
"data": {
"ssid": "MyNetwork",
"password": "mypassword",
"security": "WPA"
}
}
Contact QR Data:
{
"apiKey": "your_api_key",
"type": "contact",
"data": {
"name": "John Doe",
"phone": "+1234567890",
"email": "john@example.com"
}
}
📱 QR Code Generator
Generate actual QR codes in multiple formats.
Tool: generate-qr-code
Parameters:
apiKey(string, required) - Authentication keytext(string, required) - Text to encodeformat(enum, optional) - Output format:png,svg,terminal(default: png)errorCorrectionLevel(enum, optional) - Error correction:L,M,Q,H(default: M)width(number, optional) - QR code width in pixels (100-1000, default: 200)
Example:
{
"apiKey": "your_api_key",
"text": "https://example.com",
"format": "png",
"width": 300
}
🔄 Base64 Converter
Encode or decode text using Base64 encoding.
Tool: base64-convert
Parameters:
apiKey(string, required) - Authentication keyoperation(enum, required) - Operation type:encodeordecodetext(string, required) - Text to process
Example:
{
"apiKey": "your_api_key",
"operation": "encode",
"text": "Hello, World!"
}
🆔 UUID Generator
Generate unique identifiers (UUID v4).
Tool: generate-uuid
Parameters:
apiKey(string, required) - Authentication keycount(number, optional) - Number of UUIDs to generate (1-10, default: 1)
Example:
{
"apiKey": "your_api_key",
"count": 5
}
🎨 Color Palette Generator
Create color palettes for design projects.
Tool: generate-color-palette
Parameters:
apiKey(string, required) - Authentication keybaseColor(string, optional) - Base color in hex format (#RRGGBB)type(enum, optional) - Palette type:monochromatic,complementary,triadic,random(default: random)count(number, optional) - Number of colors (3-10, default: 5)
Example:
{
"apiKey": "your_api_key",
"baseColor": "#3498db",
"type": "monochromatic",
"count": 6
}
Development
Project Structure
ice-cream-mcp-server/
├── server.ts # Main MCP server implementation
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── README.md # This file
├── DEPLOYMENT.md # Deployment guide
└── CLAUDE.md # Development instructions
Local Development
-
Install dependencies
npm install -
Set up environment
export MCP_API_KEY="$(openssl rand -hex 32)" -
Run with auto-reload
npx ts-node --watch server.ts -
TypeScript compilation
npx tsc
Architecture
- MCP Server: Built with
@modelcontextprotocol/sdk - Transport: Uses
StdioServerTransportfor communication - Authentication: API key validation for all tools
- TypeScript: Fully typed with Zod schema validation
Deployment
Render (Recommended)
See DEPLOYMENT.md for complete deployment instructions.
Quick Deploy to Render:
- Connect GitHub repository to Render
- Create new Web Service
- Set build command:
npm install - Set start command:
npx ts-node server.ts - Add environment variable:
MCP_API_KEY=your_key
Other Platforms
This MCP server can be deployed to any platform that supports:
- Node.js runtime
- Long-running processes
- Environment variables
- stdin/stdout communication
Security
API Key Requirements
All tools require authentication via the apiKey parameter. The server validates this against the MCP_API_KEY environment variable.
Best Practices
- Generate strong API keys using
openssl rand -hex 32 - Never commit API keys to version control
- Rotate API keys regularly
- Use environment variables for configuration
- Monitor server logs for suspicious activity
Usage Examples
Using with Claude Desktop
Add this server to your Claude Desktop configuration:
{
"mcpServers": {
"productivity-toolkit": {
"command": "npx",
"args": ["ts-node", "/path/to/server.ts"],
"env": {
"MCP_API_KEY": "your_api_key_here"
}
}
}
}
Using with MCP Client
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
const client = new Client({
name: "productivity-client",
version: "1.0.0"
});
// Call password generator tool
const result = await client.callTool("generate-password", {
apiKey: "your_api_key",
length: 16,
includeSymbols: true
});
Contributing
- Fork the repository
- Create a feature branch:
git checkout -b feature-name - Make your changes
- Add tests if applicable
- Commit your changes:
git commit -am 'Add feature' - Push to the branch:
git push origin feature-name - Submit a pull request
License
This project is licensed under the ISC License.
Support
- Create an issue for bugs or feature requests
- Check the DEPLOYMENT.md for deployment help
- Review server logs for troubleshooting
Changelog
v1.0.0
- Initial release
- Password generator tool
- QR code data generator tool
- QR code generator tool
- Base64 converter tool
- UUID generator tool
- Color palette generator tool
- API key authentication
- Render deployment support
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。