使用说明
MCP服务器DevUtils——17个AI助手开发工具
一个MCP服务器,为您的AI助手提供17个开发工具——base64、UUID、JWT解码、cron、时间戳、JSON、正则表达式。没有API密钥,没有外部服务,只是 npx.
You: "Decode this JWT: eyJhbGci..."
AI: Header: { alg: "RS256" } Payload: { sub: "1234", exp: 1700000000 } Expired: yes
与Claude Desktop、Cursor和VS Code Copilot配合使用。需要零身份验证。
工具
| 工具 | 它做什么 |
|---|---|
base64_encode |
将字符串编码为Base64 |
base64_decode |
解码Base64字符串 |
uuid_generate |
生成一个或多个UUID(v4) |
ulid_generate |
生成ULID |
hash |
对字符串进行哈希运算(md5、sha1、sha256、sha384、sha512) |
hash_all |
同时使用所有算法进行哈希运算 |
jwt_decode |
解码JWT令牌(标头、有效载荷、过期) |
cron_explain |
用简单的英语解释cron表达式 |
cron_validate |
验证cron表达式 |
cron_next |
显示cron表达式的下一个N个运行时间 |
timestamp_to_iso |
将Unix时间戳转换为ISO 8601 |
iso_to_timestamp |
将ISO 8601转换为Unix时间戳 |
timestamp_now |
以多种格式获取当前时间 |
json_format |
漂亮地打印JSON字符串 |
json_minify |
缩小JSON字符串 |
json_validate |
验证JSON并报告其类型 |
regex_test |
针对字符串测试正则表达式模式 |
快速开始
使用克劳德桌面
添加到您的 claude_desktop_config.json:
{
"mcpServers": {
"devutils": {
"command": "npx",
"args": ["-y", "mcp-server-devutils"]
}
}
}
带光标
添加到您的 .cursor/mcp.json:
{
"mcpServers": {
"devutils": {
"command": "npx",
"args": ["-y", "mcp-server-devutils"]
}
}
}
使用VS代码(复制副本)
添加到您的 .vscode/mcp.json:
{
"servers": {
"devutils": {
"command": "npx",
"args": ["-y", "mcp-server-devutils"]
}
}
}
例子
问你的AI助手:
- “解码此JWT令牌:eyJhbG…”
- “cron表达式是什么
0 9 * * 1-5意思?" - “生成5个UUID”
- “用SHA-256对这个字符串进行哈希处理:hello world”
- “将Unix时间戳1700000000转换为日期”
- 格式化此JSON:{“a”:1,“b”:2}
- “测试正则表达式
\d{3}-\d{4}反对“555-1234”
发展
npm install
npm test
npm run build
作者
README构建于 README生成器
