Skip to main content
Glama
enachimuthu

mcp-toolkit-server

by enachimuthu

mcp-toolkit-server

A production-quality Model Context Protocol (MCP) server, written in TypeScript, that exposes a small toolkit of everyday utilities as MCP tools, resources, and prompts.

What is MCP?

The Model Context Protocol is an open protocol from Anthropic that standardizes how applications provide context and capabilities to large language models. An MCP server advertises tools (functions the model can call), resources (readable data the model can pull in as context), and prompts (reusable prompt templates). MCP clients — such as Claude Desktop, IDE assistants, or custom agents — connect to servers and let the model use those capabilities.

This server speaks MCP over stdio: the client launches it as a subprocess and communicates via JSON-RPC on stdin/stdout. All logging is therefore sent to stderr so it never corrupts the protocol stream.

Related MCP server: lit-forge MCP server

What this server does

mcp-toolkit-server bundles a handful of self-contained utilities so you can experiment with MCP without external services or API keys. It also keeps an in-memory notes store that is exposed both as tools and as browsable resources.

Tools

Tool

Description

Inputs

calculator

Safely evaluate a basic arithmetic expression (+ - * / % **, parentheses). Uses a hand-written parser — never eval. Reports divide-by-zero and invalid input as errors.

expression: string

text_stats

Return word, character, line, and sentence counts for a block of text.

text: string

slugify

Convert text into a URL-friendly slug (lowercased, diacritics stripped, hyphenated).

text: string

base64

Encode a UTF-8 string to base64, or decode base64 back to UTF-8.

input: string, mode: "encode" | "decode"

hash

Compute the md5 or sha256 hex digest of a string.

input: string, algo: "md5" | "sha256"

uuid

Generate one or more random v4 UUIDs.

count?: number (1–100)

datetime

Return the current date/time for a given IANA timezone.

timezone: string

notes_add

Create a new note; returns the note with its generated id.

title: string, content: string

notes_list

List all stored notes.

(none)

notes_get

Retrieve a single note by id.

id: string

notes_delete

Delete a note by id.

id: string

Resources

Resource

URI

Description

Server info

server://info

Static JSON document with server metadata (name, version, capabilities, note count).

Note

note://{id}

Dynamic resource template. Listing enumerates every stored note; reading note://<id> returns that note as JSON.

Prompts

Prompt

Description

Arguments

summarize

Ask the model to produce a concise summary of the provided text.

text: string

code_review

Ask the model to review a code snippet for bugs, security, and style.

language: string, code: string

Install & build

Requires Node.js 18+.

npm install
npm run build

This compiles src/ to dist/ (with type declarations).

Run

After building, run the compiled server:

node dist/index.js

Or, once published/installed, via the bin entry:

npx mcp-toolkit-server

The server communicates over stdio, so running it directly in a terminal will simply wait for a client to connect. You should see the startup line printed to stderr:

mcp-toolkit-server v0.1.0 running on stdio.

Add it to an MCP client (Claude Desktop)

Add an entry to your claude_desktop_config.json (on Windows this lives at %APPDATA%\Claude\claude_desktop_config.json). Use an absolute path to the built entrypoint:

{
  "mcpServers": {
    "toolkit": {
      "command": "node",
      "args": ["C:\\SourceCode\\mcp-toolkit-server\\dist\\index.js"]
    }
  }
}

Restart the client; the toolkit server's tools, resources, and prompts will then be available.

Development

# Run directly from TypeScript source without building (via tsx):
npm run dev

# Type-check only:
npm run lint

# Run the test suite (Vitest):
npm test

# Watch mode:
npm run test:watch

The pure logic (calculator, text_stats, slugify, base64, hash, and the notes store) lives in dedicated modules under src/tools/ and src/store.ts, and is unit-tested in test/ without requiring a running server.

Project structure

mcp-toolkit-server/
├── src/
│   ├── index.ts          # Entrypoint: create server, register everything, connect via stdio
│   ├── config.ts         # Server name/version constants
│   ├── store.ts          # In-memory NotesStore (shared by tools and resources)
│   ├── resources.ts      # server://info and note://{id} resources
│   ├── prompts.ts        # summarize and code_review prompts
│   └── tools/
│       ├── index.ts      # Registers all tools on the server
│       ├── calculator.ts # Safe arithmetic evaluator
│       ├── text.ts       # textStats + slugify
│       ├── encoding.ts   # base64 + hash
│       └── datetime.ts   # timezone formatting
├── test/                 # Vitest unit tests for the pure logic
├── package.json
├── tsconfig.json
├── vitest.config.ts
├── LICENSE
└── README.md

License

MIT © 2026 Nachimuthu Easwaramoorthy

A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides essential utility tools for text processing, file operations, hashing, temperature conversion, password generation, and date/time operations through a comprehensive MCP interface.
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI clients to use developer utilities like JSON formatting, JWT decoding, UUID generation, and more via MCP.
    12
    279
    2
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides a versatile set of utility tools for LLMs, including text processing, web fetching, and search capabilities, all accessible via MCP.

View all related MCP servers

Related MCP Connectors

  • 500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.

  • Remote MCP server: 10 developer utilities (base64, JWT, DNS, UUID, URL, JSON, UA, IP lookup).

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/enachimuthu/mcp-toolkit-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server