Skip to main content
Glama
agent-utils-mcp

agent-utils-mcp

by aparajithn

Agent Utils MCP Server 🛠️

A Swiss-army-knife utility server for AI agents — 18 tools via MCP (Streamable HTTP) + REST API.

Smithery Glama

Live at: https://agent-utils-mcp.onrender.com

Add to Your MCP Client

Claude Desktop / Cursor / Windsurf

Add to your MCP config:

{
  "mcpServers": {
    "agent-utils": {
      "url": "https://agent-utils-mcp.onrender.com/mcp"
    }
  }
}

Smithery

smithery mcp add aparajithn/agent-utils

Related MCP server: devtool

Tools (18)

Tool

Description

tool_json_validate

Validate JSON string, return parsed or error

tool_json_format

Pretty-print or minify JSON

tool_base64_encode

Encode string to base64

tool_base64_decode

Decode base64 string

tool_hash_generate

MD5, SHA256, SHA512 hash

tool_uuid_generate

UUID v4 or v7

tool_url_parse

Parse URL into components

tool_regex_test

Test regex pattern, return matches

tool_markdown_to_html

Markdown → HTML

tool_html_to_markdown

HTML → Markdown

tool_text_stats

Word count, char count, reading time

tool_slug_generate

URL-safe slug from text

tool_datetime_convert

Convert between timezones/formats/Unix timestamps

tool_cron_parse

Human-readable cron description + next N runs

tool_diff_text

Unified diff between two texts

tool_csv_to_json

CSV → JSON array

tool_json_to_csv

JSON array → CSV

tool_jwt_decode

Decode JWT payload (no verification)

REST API

All tools also available as REST endpoints at /api/v1/{tool_name}.

# Hash a string
curl -X POST https://agent-utils-mcp.onrender.com/api/v1/hash_generate \
  -H "Content-Type: application/json" \
  -d '{"text": "hello world", "algorithm": "sha256"}'

# Generate UUID
curl -X POST https://agent-utils-mcp.onrender.com/api/v1/uuid_generate \
  -H "Content-Type: application/json" \
  -d '{"version": 4}'

# Convert datetime
curl -X POST https://agent-utils-mcp.onrender.com/api/v1/datetime_convert \
  -H "Content-Type: application/json" \
  -d '{"dt_string": "2025-01-01 12:00", "from_tz": "UTC", "to_tz": "America/New_York"}'

OpenAPI docs: https://agent-utils-mcp.onrender.com/docs

Discovery

  • Google A2A: /.well-known/agent-card.json

  • Smithery: /.well-known/mcp/server-card.json

  • OpenAPI: /openapi.json

Pricing

  • Free tier: 100 requests per IP per 24 hours

  • Paid tier: x402 protocol — $0.001/request in USDC (Base network)

Paying with x402

When you exhaust the free tier, the server replies with HTTP 402 carrying machine-readable payment requirements (x402 v1). Any x402-aware client pays and retries automatically:

from x402_fetch import x402_fetch  # pip install x402-fetch
response = x402_fetch("https://agent-utils-mcp.onrender.com/api/v1/hash_generate", method="POST",
                      body={"text": "hello", "algorithm": "sha256"})

Or attach the payment header yourself: the X-Payment header must be a base64-encoded JSON envelope containing an EIP-3009 TransferWithAuthorization (USDC on Base) signed with the payer's EIP-712 key for the exact price, addressed to the server's wallet, with an unused nonce. Payments are verified cryptographically (signature recovery + amount/recipient/deadline/replay checks) before the request is served.

Payment configuration (environment variables)

Variable

Default

Purpose

X402_WALLET_ADDRESS

(unset — paywall disabled)

Wallet that receives payments

X402_PRICE_MICROUSD

1000 ($0.001)

Price per request in USDC atomic units

X402_NETWORK / X402_CHAIN_ID / X402_USDC_CONTRACT

base / 8453 / Base USDC

Payment network

X402_MAX_TIMEOUT_SECONDS

60

Payment validity window

RATE_LIMIT_FREE

100

Free requests per IP per 24h

Collecting revenue (on-chain settlement)

With X402_SETTLER_PRIVATE_KEY set, every verified payment is executed on-chain within seconds: the EIP-3009 transferWithAuthorization is submitted to the USDC contract on Base and the USDC moves from the payer to X402_WALLET_ADDRESS. The settler key does not need to be the receiving wallet's key — EIP-3009 authorizations can be executed by any address, so a dedicated gas-only burner key can do the submitting while the funds land in your main wallet. It only needs a small ETH balance on Base for gas.

Variable

Default

Purpose

X402_SETTLER_PRIVATE_KEY

(unset — verify only, no funds move)

Key that submits settlement transactions

X402_RPC_URL

https://mainnet.base.org

Base JSON-RPC endpoint

X402_SETTLE_MIN_MICROUSD

0 (settle each payment immediately)

Batch payments until pending value reaches this

Failed settlements are retried with exponential backoff; if all retries fail, the full payment authorization is written to the logs (CRITICAL) so it can be redeemed manually — no payment is silently lost.

Tech Stack

License

MIT

Available Tools

18 tools
tool_base64_decodeA

Decode a base64 string.

Inputs: encoded (required). Returns: result

tool_base64_encodeA

Encode a string to base64.

Inputs: text (required). Returns: result

tool_cron_parseA

Parse a cron expression: human-readable description + next N run times.

Inputs: cron_expression (required), count. Returns: result

tool_csv_to_jsonB

Convert CSV text to a JSON array of objects.

Inputs: csv_text (required), delimiter. Returns: result

tool_datetime_convertC

Convert a datetime between timezones/formats, including Unix timestamps.

Inputs: dt_string (required), to_tz, from_tz, to_format, +1 more. Returns: result

tool_diff_textA

Compute a unified diff between two texts.

Inputs: text1 (required), text2 (required), context_lines. Returns: result

tool_hash_generateA

Generate hash (md5, sha256, sha512) of input text.

Inputs: text (required), algorithm. Returns: result

tool_html_to_markdownA

Convert HTML to Markdown.

Inputs: html_text (required). Returns: result

tool_json_formatB

Pretty-print or minify a JSON string.

Inputs: json_string (required), minify. Returns: result

tool_json_to_csvB

Convert a JSON array to CSV text.

Inputs: json_data (required), delimiter. Returns: result

tool_json_validateA

Validate a JSON string. Returns parsed object or detailed error.

Inputs: json_string (required). Returns: result

tool_jwt_decodeA

Decode a JWT payload without verification (inspection only).

Inputs: token (required). Returns: result

tool_markdown_to_htmlC

Convert Markdown to HTML.

Inputs: md_text (required). Returns: result

tool_regex_testB

Test a regex pattern against text and return all matches.

Inputs: text (required), pattern (required), flags. Returns: result

tool_slug_generateB

Generate a URL-safe slug from text.

Inputs: text (required), separator. Returns: result

tool_text_statsA

Compute text statistics: word count, char count, sentences, reading time.

Inputs: text (required). Returns: result

tool_url_parseB

Parse a URL into components (scheme, host, path, params, etc.).

Inputs: url (required). Returns: result

tool_uuid_generateA

Generate a UUID (v4 or v7).

Inputs: version. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 18 tools

    Disambiguation5/5

    Each tool performs a distinct operation, with clear separation between encoding/decoding, validation/formatting, conversion pairs, and parsing utilities. No overlapping responsibilities would confuse an agent.

    Naming Consistency4/5

    Names follow a consistent lowercase snake_case pattern with a uniform 'tool_' prefix and typically include the target data type, but verb placement varies (e.g., tool_text_stats vs tool_json_validate) and conversion pairs use 'to' rather than a strict verb_noun scheme.

    Tool Count4/5

    18 tools is slightly above the typical well-scoped range, but the broad utility-toolkit purpose justifies the number since each tool addresses a distinct text, data, or time operation.

    Completeness4/5

    The set covers a wide range of common agent utilities (JSON, base64, hashing, UUID, datetime, CSV, Markdown, diff). Minor gaps such as URL encoding/decoding or more advanced string operations are missing, but the surface is generally complete for its stated purpose.

    Maintenance

    ActivityStale
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      A 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 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server providing 35 utility tools for AI agents including text analysis, encoding, hashing, password generation, JSON/CSV/XML parsing, regex, color, date, finance, URL metadata, SEO tags, DNS lookup, SSL inspection, and JWT decoding. Free, zero-dependency, and works with any MCP client.
      35
      64 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides deterministic micro-utilities as an MCP server, including free tools for conversion, text processing, hashing, encoding, ID generation, and regex, plus paid per-call tools for timezone, cron, RRULE, currency, diff, JSON Schema validation, and date math.
      13
      MIT