Skip to main content
Glama
legotec73

MCP Server Example

by legotec73

MCP Server Example

Node.js / Express / TypeScript-basierter MCP (Model Context Protocol) Server

Ausführungsmethoden

Lokale Ausführung

npm install
npm run build
npm start

# 인증 토큰과 함께 실행
TOKEN=your_token npm start

Docker-Ausführung

docker build -t mcp-server-node .
docker run -p 3000:3000 -e TOKEN=your-secret-token mcp-server-node

Related MCP server: CloudTypeJ MCP Server

Bereitstellen

Cloudtype

  1. Vorlage auswählen : MCP Server - Node.js

  1. Bereitstellen

  • Node v22

  • Umgebungsvariablen TOKEN : Token für die Authentifizierung festlegen (Token für die Authentifizierung)

  • Build-Befehl npm run build

  • Startbefehl npm start

  1. Verbindungsinformationen prüfen

    MCP-Verbindungsadresse - https:///mcp

  1. Aktualisierung Nach dem Committen und Pushen des Codes über die Schaltfläche Bereitstellen im Tab Einstellungen bereitstellen

YouTube-Anleitung

Bereitstellungsautomatisierung

Authentifizierung

Es wird eine Bearer-Token-Authentifizierung verwendet:

  • Umgebungsvariable: TOKEN

  • Header: Authorization: Bearer your-token

Unterstützte Tools

  • user_list - Benutzerliste abrufen

  • user_statistics - Benutzermetriken abrufen

  • calculator - Taschenrechner-Beispiel

  • create_task : Aufgabe erstellen

  • complete_task : Aufgabe abschließen

  • list_tasks : Aufgabenliste abrufen

Umgebungsvariablen

  • TOKEN : Bearer-Token (erforderlich)

Verwendungsmöglichkeiten

Porter AI

Problembehebung

License

MIT License

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A Node.js MCP server providing user management, task management, and calculator tools with Bearer token authentication, deployable on Cloudtype.
    15
    5
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server providing calculator, user list, and statistics tools with Bearer Token authentication.
    225
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A Node.js MCP server example with user management, task management, and calculator tools. Supports authentication via bearer token and can be deployed locally or via Docker.
    15
    MIT

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/legotec73/MCPserverExample'

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