Skip to main content
Glama
legotec73

MCP Server Example

by legotec73

MCP Server Example

Node.js / Express based MCP (Model Context Protocol) server

How to Run

Run Locally

npm install
npm run build
npm start

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

Run with Docker

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

Deploying

Cloudtype

  1. Select a template: MCP Server - Node.js

  1. Deploy

  • Node v22

  • Environment variables TOKEN: Set the token used for authentication

  • Build command npm run build

  • Start command npm start

  1. Check the connection information

    MCP connection address - https:///mcp

  1. Update After committing and pushing code, deploy using the Deploy button in the Settings tab

YouTube Guide

Deployment Automation

Authentication

Uses Bearer token authentication:

  • Environment variable: TOKEN

  • Header: Authorization: Bearer your-token

Supported Tools

  • user_list - Retrieve user list

  • user_statistics - Retrieve user statistics

  • calculator - Calculator example

  • create_task - Create a task

  • complete_task - Complete a task

  • list_tasks - Retrieve task list

Environment Variables

  • TOKEN : Bearer token (required)

How to Use

Porter AI

Troubleshooting

License

MIT License

A
license - permissive license
Not graded
quality - not tested
D
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
    A Node.js MCP server providing user management, task management, and calculator tools with Bearer token authentication, deployable on Cloudtype.
    7
    5
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server providing calculator, user list, and statistics tools with Bearer Token authentication.
    353
    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.
    7
    MIT

View all related MCP servers

Related MCP Connectors

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

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