Skip to main content
Glama
mcp-server-starter-demo

mcp-server-starter-demo

MCP Server Starter Demo

A free, deliberately small TypeScript MCP server from ThynkQ. It uses the current official SDK, runs over stdio, validates every input with Zod, and exposes two pure in-memory tools:

  • echo: returns validated text unchanged;

  • text_stats: counts words and characters.

It does not read files, call the network, spawn subprocesses, or accept secrets.

Run it

Requires Node.js 22 or newer.

npm install
npm run check
npm start

Build first, then copy configs/claude-desktop.example.json and replace the placeholder with the absolute path to dist/index.js.

Related MCP server: MCP Server TypeScript Template

Why this repository is limited

This is a public teaching demo, not the paid production starter. It intentionally omits:

  • streamable HTTP transport;

  • bearer authentication and constant-time comparison;

  • rate limiting and DNS rebinding protection;

  • structured redacted logging;

  • typed safe error handling;

  • the 72-test transport and security suite;

  • three production client configurations and saved scan proof.

Those hardening layers are part of MCP Server Starter Pro, which is in final storefront preparation. Follow ThynkQ's MCP work for the release.

If you need a human review of a production MCP deployment, see ThynkQ's MCP Risk Review.

Before connecting a third-party MCP server, run the free MCP Security Review Preview. It is a limited Claude Code preflight that keeps raw scanner evidence outside model-facing output.

Also free: the mcp-scan security scanner, and the MCP Security Evidence Redactor for safe severity-count summaries of scan output.

Security model

The client launches this process and communicates over stdin/stdout. All operational logging goes to stderr so stdout remains reserved for JSON-RPC. Both example tools are pure functions with bounded inputs.

License

MIT. See LICENSE.

Built by Abanoub Rodolf Boctor at ThynkQ.

Available Tools

2 tools
echoEchoA

Return a validated text value unchanged. No filesystem, network, or subprocess access.

Inputs: message (required).

text_statsText statisticsA

Count words and characters in memory. No filesystem, network, or subprocess access.

Inputs: text (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 2 tools

    Disambiguation5/5

    Echo returns input unchanged, while text_stats computes word and character counts. Their purposes are entirely distinct with no overlap or possibility of confusion.

    Naming Consistency3/5

    Echo is a bare verb, while text_stats is a compound noun with an underscore. There's no consistent verb_noun pattern, but both are short and readable.

    Tool Count4/5

    Two tools is below the typical 3-15 range, but for a starter demo server this minimal scope is intentionally appropriate and each tool earns its place.

    Completeness5/5

    The domain appears to be simple in-memory text operations. Echo and text_stats cover returning text and analyzing it, with no filesystem or network operations claimed, so no obvious gaps exist.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      D
      quality
      D
      maintenance
      A minimal Model Context Protocol server in TypeScript that demonstrates MCP-compliant resources and tools for LLMs, featuring simple resources and a basic tool that echoes messages or returns greetings.
      1
      5
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      A demonstration MCP server built in TypeScript that shows how to implement stdio-based communication for integration with MCP clients. Serves as a template for building custom MCP servers with strong typing and maintainability.
      ISC
    • A
      license
      Not graded
      quality
      D
      maintenance
      A lightweight TypeScript-based MCP server that demonstrates how to build custom MCP tools by implementing a simple addition calculator. Serves as a starting point for building MCP-compatible tools.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A minimal TypeScript MCP starter server that counts words and characters, ready to extend with custom tools.
      1
      MIT