Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Project 1

БесплатноНе проверен

MCP server offering tools to add numbers and fetch GitHub repos, a resource for apartment rules, and a prompt to explain SQL queries.

GitHubEmbed

Описание

MCP server offering tools to add numbers and fetch GitHub repos, a resource for apartment rules, and a prompt to explain SQL queries.

README

A minimal Model Context Protocol (MCP) server built with the @modelcontextprotocol/sdk, communicating over stdio.

Features

Tools

  • add_numbers — Adds two numbers together.
    • Inputs: a (number), b (number)
  • get_github_repo — Fetches and lists a GitHub user's repositories.
    • Inputs: username (string)

Resources

  • apartment_rules (rules:/all) — Returns the contents of src/data/rules.doc, a set of apartment rules (safety, noise control, cleanliness, etc.) stored as plain text.

Prompts

  • explain_sql — Generates a prompt asking for a detailed, plain-English explanation of a given SQL query.
    • Inputs: sql (string)

Requirements

  • Node.js
  • npm

Installation

npm install

Build

Compiles TypeScript (src/) to JavaScript (build/):

npm run build

Running

After building, run the server directly:

node build/index.js

The server communicates over stdio, so it's intended to be launched by an MCP client (e.g. Claude Desktop, an IDE extension, or another MCP-compatible host) rather than run standalone.

Project Structure

src/
  index.ts        # Server setup: tools, resources, and prompts
  data/
    rules.doc      # Data backing the apartment_rules resource
build/             # Compiled output (generated by `npm run build`)

Configuration

  • TypeScript: targets ES2022 with NodeNext modules/resolution and strict mode enabled (see tsconfig.json).
  • Formatting: Prettier is configured to use tabs with a width of 4 (see .prettierrc).

from github.com/ThuongHan/mcp-demo-serve

Установка Project 1

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/ThuongHan/mcp-demo-serve

FAQ

Project 1 MCP бесплатный?

Да, Project 1 MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Project 1?

Нет, Project 1 работает без API-ключей и переменных окружения.

Project 1 — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Project 1 в Claude Desktop, Claude Code или Cursor?

Открой Project 1 на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Project 1 with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории data