Skip to main content
Glama

digital-mgmt-mcp

Ein Model Context Protocol (MCP)-Server für das Akij Resource Digital Management-Team, erstellt mit TypeScript und dem offiziellen MCP SDK. Er nutzt den Streamable HTTP-Transport, sodass er als Vercel-Serverless-Funktion (und lokal auch über stdio) ausgeführt werden kann.

Tools

Tool

Beschreibung

get_time

Aktuelle UTC-Zeit / ISO-Zeitstempel / Epochen-Millisekunden

echo

Gibt eine Nachricht zurück

calculate

Sichere arithmetische Auswertung (+ - * / % ( ))

digital_kpi_summary

FY2026 Digital Management KPI-Zusammenfassung (echte DWH-Zahlen + Beispiel-Marketingdaten), mit optionalem SBU-Filter

Related MCP server: Custom MCP Server

Projektstruktur

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

Lokale Entwicklung

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

Auf Vercel bereitstellen

  1. Installiere die Vercel-CLI: npm i -g vercel

  2. vercel (Projekt verknüpfen), dann vercel --prod

  3. Dein MCP-Endpunkt wird https://<project>.vercel.app/api/mcp sein

Auf GitHub pushen

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

Mit dem MCP verbinden

Füge es als Remote-MCP-Server in deinem Client hinzu (z. B. opencode.json):

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

Ein Tool hinzufügen

Registriere neue Tools in src/tools.ts mit einem Zod-Schema für typisierte Argumente:

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}` }],
  })
);

Geheimnisse (API-Schlüssel, DB-Anmeldedaten) gehören in Vercel-Umgebungsvariablen — committe sie niemals.

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