devtk-mcp
v1.0.0
Published
Local DevToolbox MCP server for JSON and HTTP request utilities
Readme
devtk-mcp
A local Model Context Protocol server for DevToolbox utilities. It runs over stdio and requires Node.js 20 or newer. It does not open a port, receive webhooks, or send pasted input to a hosted DevToolbox service.
Install and configure
npm install -g devtk-mcpAdd the server to an MCP host that accepts a command configuration:
{
"mcpServers": {
"devtoolbox": {
"command": "devtk-mcp"
}
}
}The exact configuration location depends on the host. You can also launch it with npx -y devtk-mcp if you prefer not to install it globally. The process communicates through stdin and stdout; do not expect an HTTP endpoint or a terminal prompt.
Tools
| Tool | Input | Result |
| --- | --- | --- |
| json_diff | before, after JSON strings; optional ignoreArrayOrder | Added, removed, and modified paths |
| json_to_typescript | json string; optional root name | TypeScript declarations |
| curl_to_code | command; optional language: fetch, axios, python | Generated code and credential warning flag |
| json_query | json, expression; optional mode: jsonpath or jq | Local query results |
| cron_next | Five-field expression; optional IANA timeZone | Five future UTC timestamps |
| sql_format | sql; optional dialect, compact | Formatted SQL text |
| webhook_compare | before, after pasted JSON strings | Changed paths between payloads |
The webhook tool compares supplied data; it cannot receive a webhook. cURL input is parsed, never executed. JWTs and other sensitive inputs should be handled according to your MCP host's own logging and retention settings.
Verify locally
From the DevToolbox repository:
npm install
npm test -w devtk-mcpThe test starts a real stdio client, discovers all seven tools, and checks normal and error responses.
License
MIT. See LICENSE.
