mcp-devtools
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., "@mcp-devtools validate and format this JSON: {"name":"John","age":30}"
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.
mcp-devtools
A small, production-quality Model Context Protocol (MCP) server exposing credential-free developer utilities. Built as a reference/demo of clean MCP server engineering: typed tool schemas, structured output, a resource, a prompt, unit tests, and an end-to-end protocol smoke test.
Zero credentials, zero network. Clone it, install, and it runs — nothing to configure, nothing to leak.
CI (.github/workflows/ci.yml) runs typecheck + unit tests + build + the wire-protocol smoke test on every push. Licensed MIT (see LICENSE).
Provenance: designed and reviewed by a human engineer (architecture, the decode-only security framing, the wire-protocol test strategy); implementation is AI-assisted. What's being sold is the engineering judgment, not the typing.
What it exposes
Tools (6):
Tool | Does |
| Validate + format / minify / recursively sort-keys a JSON string |
| Run a regex against a subject; returns every match, index, and capture group (structured output) |
| MD5 / SHA-1 / SHA-256 / SHA-512 hex digest of text |
| Generate 1–100 RFC-4122 v4 UUIDs |
| Base64 encode/decode, with an optional URL-safe alphabet |
| Decode a JWT's header/payload + expiry (decode only — does not verify the signature) |
Resource: devtools://reference/http-status-codes — common HTTP status codes as JSON.
Prompt: code_review — a parameterized code-review request.
Related MCP server: mcp-dev-utils
Install & run
npm install
npm run build # compile to dist/
npm start # run the server on stdioDevelopment (no build step, via tsx):
npm run devVerify it works
npm test # unit tests for all tool logic (node:test)
npm run smoke # end-to-end: spawns the server, drives it with a real MCP clientnpm run smoke connects an actual MCP client over stdio, lists the tools/resource/prompt, and calls each tool — proving the wire protocol, not just the functions. Expected tail:
ALL CHECKS PASSEDAdd it to an MCP client
Claude Code
claude mcp add devtools -- node /absolute/path/to/mcp-devtools/dist/server.jsClaude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"devtools": {
"command": "node",
"args": ["/absolute/path/to/mcp-devtools/dist/server.js"]
}
}
}Then ask the assistant things like "sort the keys in this JSON", "sha256 this string", or "decode this JWT" and it will call the tools.
Design notes (why it's built this way)
Tool logic is separated from transport (
src/logic.tsvssrc/server.ts) so every tool is unit-testable in isolation and the MCP layer stays thin.Deterministic + self-contained — no network calls, no API keys, no live services. Errors are returned as
isErrortool results, not thrown, so the client sees a clean message.jwt_inspectdecodes only. Signature verification needs key material and a stated algorithm policy; conflating "decode" with "verify" is a common security mistake, so this tool is explicit about not verifying.Structured output on
regex_testreturns a typed object (validated against the tool'soutputSchema) alongside the human-readable text.
Stack
TypeScript · @modelcontextprotocol/sdk · zod · Node ≥ 20 · tests on node:test.
MIT-licensed engineering sample; provided as-is. Provenance note at the top.
Available Tools
6 toolsbase64_transformBase64 encode / decodeA
Encode or decode text as Base64, with an optional URL-safe alphabet.
Inputs: text (required), direction (required), urlSafe.
hash_textHash textA
Compute a cryptographic digest (hex) of UTF-8 text.
Inputs: text (required), algorithm.
json_toolsJSON format / minify / sortA
Validate and reshape a JSON string. mode=format pretty-prints, minify compacts, sort_keys recursively alphabetizes object keys. Returns a clear error for invalid JSON.
Inputs: input (required), mode, indent.
jwt_inspectInspect a JWT (decode only)A
Decode a JWT's header and payload and report whether a signature segment is present and whether the token is expired. Does NOT verify the signature — decoding only.
Inputs: token (required).
regex_testRegex testerA
Run a JavaScript regular expression against a subject string and return each match with its index, positional capture groups, and any named groups. Flags are honored exactly: without the g flag only the first match is returned; with g, all matches.
Inputs: pattern (required), subject (required), flags. Returns: error, valid, matches, matchCount
uuid_generateGenerate UUIDsA
Generate one or more RFC-4122 version-4 UUIDs (1–100).
Inputs: count.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose: base64 encoding/decoding, hashing, JSON formatting/validation, JWT inspection, regex testing, and UUID generation. No overlap.
Tools follow snake_case with descriptive names, mostly verb_noun or noun_verb pattern. 'json_tools' is slightly generic but still consistent with others.
6 tools is well-scoped for a developer utilities server. Each tool earns its place without being too few or too many.
Covers common text/format utilities (Base64, hash, JSON, JWT, regex, UUID). Missing URL encoding/decoding but still sufficient for typical use.
Maintenance
Related MCP Connectors
Free hosted dev toolkit: uuid, hash, base64, JWT decode, CSV->JSON, time, JSON tools as MCP
Tiny devtools MCP server: slugs, timestamps, case conversion, hashing, base64, UUIDs.
238+ dev tools via MCP: JSON, QR, PDF, DNS, hash, UUID, code review, JWT, SSL, WHOIS, and more
Developer utilities MCP server: base64, hash, slug, uuid v4, timestamp, urlencode. Free, no key.
Related MCP Servers
- AlicenseAqualityCmaintenanceZero-auth MCP server with everyday developer utilities: base64, UUID, hash, JWT decode, cron, timestamps, JSON, regex.1784 npm4MIT
- FlicenseAqualityDmaintenanceA lightweight MCP server providing everyday developer utilities such as JSON formatting, UUID generation, Base64 conversion, HTTP status lookup, and Unix timestamp conversion as tools and resources.5-
- AlicenseNot gradedqualityDmaintenanceAn MCP server offering developer utilities including JSON validation, base64 encoding, timestamp conversion, and hashing, built with a clean architecture for easy extensibility.MIT
- AlicenseNot gradedqualityCmaintenanceA unified developer toolbox MCP server providing utilities for base64, JWT, timestamps, UUID, JSON formatting, hashing, URL handling, case conversion, color conversion, number bases, string operations, and regex.3 npmMIT