Skip to main content
Glama
amoljagtap17

users

by amoljagtap17

typescript-mcp-server

The users MCP server, served over stdio.

Scripts

Command

Purpose

npm run dev

Run from source with tsx

npm run build

Compile to dist/

npm start

Run the compiled build

npm run typecheck

Type-check without emitting

Related MCP server: HREVN MCP Server

Configuration

Copy .env.example to .env. All variables are declared and validated in src/config.ts; startup fails with a readable message if any are invalid.

Variable

Default

Purpose

NODE_ENV

development

development enables pretty logs

LOG_LEVEL

info

debug/info/warn/error/silent

USERS_API_BASE_URL

http://localhost:3000

Base URL of the users API

Layout

src/
  index.ts               Entry point: serve the users server over stdio
  config.ts              Env vars, loaded and validated once
  logger.ts              pino logger (pretty in development)
  tool-result.ts         Builds the CallToolResult shape
  servers/
    users/
      index.ts           createUsersServer(): registers the tools
      users.api.ts       API calls that return data
      users.schema.ts    zod schemas for input and output

Logging

stdout is the JSON-RPC wire, so never use console.log — import logger from src/logger.ts, which writes to stderr.

Errors

Tool handlers do not need try/catch. The MCP SDK catches anything thrown and returns it as a tool result flagged isError, so an API call can simply throw (as findUser does when there is no match).

Adding a tool

Add the API call to users.api.ts, its schemas to users.schema.ts, and a server.registerTool(...) block in servers/users/index.ts.

Adding another MCP server

Create src/servers/<name>/ with the same three files, exporting a create<Name>Server(): McpServer. Give it its own entry file that calls serveStdio with that factory, since one stdio process serves one server.

A
license - permissive license
-
quality - not tested
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
    -
    quality
    D
    maintenance
    A simple MCP server that exposes a createUser tool to add users to a local JSON file via stdio transport.
    270
    1
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    A standalone MCP server that exposes Rancher-side tools, forwards Authorization headers or uses configured credentials, and supports HTTP and stdio transports.
    MIT
  • F
    license
    C
    quality
    B
    maintenance
    Schema-driven MCP server that exposes all Paperclip API operations as typed MCP tools over stdio or Streamable HTTP, supporting both authenticated and local_mode deployments.
    100

View all related MCP servers

Related MCP Connectors

  • MCP server for interacting with the Supabase platform

  • The official MCP Server from Mia-Platform to interact with Mia-Platform Console

  • MCP server for managing Prisma Postgres.

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/amoljagtap17/2026-typescript-mcp-server'

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