Skip to main content
Glama
rudeeh

init-mcp-server

by rudeeh

init-mcp-server

Облачный Model Context Protocol (MCP)-сервер с транспортом Express + SSE. Готов к деплою на Render (бесплатный тариф) и подключению к Gemini как кастомное приложение.

Включенные инструменты

Инструмент

Описание

echo

Возвращает введённый текст (проверка связи)

add_numbers

Складывает два числа

get_current_time

Возвращает текущее время UTC в формате ISO-8601

reverse_text

Переворачивает строку

Related MCP server: Python MCP Server

Быстрый старт

npm install
npm run build
npm start

Деплой на Render

  1. Запушьте этот репозиторий в GitHub

  2. Перейдите в Render Dashboard -> New -> Blueprint

  3. Подключите репозиторий и нажмите Apply (остальное сделает render.yaml)

  4. Скопируйте ваш HTTPS URL и укажите его в Gemini как /sse

Подключение к Gemini

  1. Откройте Gemini -> Settings -> Connected Apps

  2. Добавьте ссылку на кастомное приложение: https://your-service.onrender.com/sse

  3. Gemini автоматически обнаружит все 4 инструмента

Структура проекта

src/
  index.ts      # Express server + SSE transport
  tools.ts      # Tool definitions and handlers
render.yaml     # Render deployment config
package.json
tsconfig.json

Добавление своих инструментов

Отредактируйте src/tools.ts:

  1. Добавьте новую запись в массив tools

  2. Добавьте соответствующий case в оператор switch

  3. Пересоберите и задеплойте заново

Related MCP Connectors

Related MCP Servers

  • F
    license
    D
    quality
    D
    maintenance
    A demonstration MCP server built with fastmcp that provides basic utility tools including number addition and greeting functionality. Integrates with Gemini CLI to enable natural language interaction with simple mathematical and greeting operations.
    2
    -
  • 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