Skip to main content
Glama

digital-mgmt-mcp

Akurioデジタルマネジメントチーム向けのModel Context Protocol (MCP)サーバー。TypeScriptと公式MCP SDKで構築されています。Streamable HTTPトランスポートを使用しているため、Vercelサーバーレス関数として実行できます(stdio経由でローカルでも実行可能)。

ツール

ツール

説明

get_time

現在のUTC時刻 / ISOタイムスタンプ / エポックミリ秒

echo

メッセージをそのまま返す

calculate

安全な算術評価(+ - * / % ( ))

digital_kpi_summary

FY2026デジタルマネジメントKPIサマリー(実DWHデータ + サンプルマーケティングデータ)、オプションのSBUフィルター付き

Related MCP server: Custom MCP Server

プロジェクト構成

api/mcp.ts        Vercel entry — Express app + Streamable HTTP transport (deployed function)
src/tools.ts      Tool definitions (shared)
src/server.ts     Local HTTP dev server (npm run dev)
src/stdio.ts      Local stdio runner (npm run stdio)
vercel.json       Vercel build/function config

ローカル開発

npm install
npm run dev        # HTTP server on http://localhost:3000/mcp
# or
npm run stdio      # stdio transport (for local MCP clients)

Vercelへのデプロイ

  1. Vercel CLIをインストール: npm i -g vercel

  2. vercel(プロジェクトをリンク)→ vercel --prod

  3. MCPエンドポイントは https://<project>.vercel.app/api/mcp になります

GitHubへのプッシュ

git init
git add .
git commit -m "init: digital management MCP server"
git branch -M main
gh repo create digital-mgmt-mcp --public --source=. --push

MCPへの接続

クライアントでリモートMCPサーバーとして追加します(例: opencode.json):

{
  "mcp": {
    "digital-mgmt-mcp": {
      "type": "remote",
      "url": "https://<project>.vercel.app/api/mcp",
      "enabled": true
    }
  }
}

ツールの追加

src/tools.ts にzodスキーマを使用して新しいツールを登録します:

server.tool(
  "my_tool",
  "What this tool does.",
  { input: z.string().describe("Description of the input") },
  async ({ input }) => ({
    content: [{ type: "text", text: `You said: ${input}` }],
  })
);

シークレット(APIキー、DB認証情報)はVercel環境変数に配置してください。絶対にコミットしないでください。

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A serverless MCP server deployed on Vercel that provides basic utility tools including echo, time retrieval, arithmetic operations, and mock weather information. Includes an interactive client application for testing and demonstration purposes.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Next.js-based MCP server that provides basic utility tools including echo, current time retrieval, and safe mathematical calculations through HTTP and SSE transports.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A self-contained, dependency-free MCP server that provides utility tools for time, date, mathematical calculations, and shell command execution. It supports remote connectivity through SSE and is designed for easy deployment via Docker.
      GPL 3.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Next.js-based MCP server using mcp-handler for Vercel deployment, supporting SSE transport and Redis integration.
      1
      MIT