Skip to main content
Glama
legotec73

MCP Server Example

by legotec73

MCP Server Example

Node.js / Express / TypeScript ベースの MCP (Model Context Protocol) サーバー

実行方法

ローカル実行

npm install
npm run build
npm start

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

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

デプロイ

Cloudtype

  1. テンプレートの選択 : MCP Server - Node.js

  1. デプロイ

  • Node v22

  • 環境変数 TOKEN : 認証に使用するトークンを設定 (認証時に使用するトークン)

  • ビルドコマンド npm run build

  • 起動コマンド npm start

  1. 接続情報の確認

    MCP 接続アドレス - https://<デプロイされたプレビュードメインアドレス>/mcp

  1. 更新 コードをコミット & プッシュした後、設定 タブの デプロイ ボタンでデプロイします

YouTube ガイド

デプロイ自動化

認証

Bearer トークン認証を使用します:

  • 環境変数: TOKEN

  • ヘッダー: Authorization: Bearer your-token

サポートツール

  • user_list - ユーザー一覧の取得

  • user_statistics - ユーザー指標の取得

  • calculator - 計算機の例

  • create_task : タスクの作成

  • complete_task : タスクの完了

  • list_tasks : タスク一覧の取得

環境変数

  • TOKEN : Bearer トークン (必須)

活用方法

Porter AI

トラブルシューティング

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