JUHE API Marketplace
a-polishchuk avatar
MCP Server

Yes or No MCP

A simple MCP server implementation in TypeScript that communicates over stdio, allowing users to ask questions that end with 'yes or no' to trigger the MCP tool in Cursor.

0
GitHub Stars
8/23/2025
Last Updated
MCP Server Configuration
1{
2 "name": "Yes or No MCP",
3 "command": "npx",
4 "args": [
5 "-y",
6 "tsx",
7 "/stdio-example.ts",
8 "--stdio"
9 ]
10}
JSON10 lines

README Documentation

MCP Example: Server over stdio

This repository demonstrates a simple MCP (Model Context Protocol) server implementation that communicates over stdio using TypeScript.

Features

  • Example MCP server using stdio
  • Written in TypeScript
  • Easily extensible for custom MCP commands

Prerequisites

  • Node.js (v18 or newer recommended)
  • npm

Setup

  1. Install dependencies:

    npm install
    
  2. Go to Cursor Settings -> MCP -> Add new MCP:

    {
        "mcpServers": {
            "Yes or No MCP": {
                "command": "npx",
                "args": [
                    "-y",
                    "tsx",
                    "<absolute_path_to>/stdio-example.ts",
                    "--stdio"
                ]
            }
        }
    }
    

    Replace <absolute_path_to> with the absolute path to your stdio-example.ts file.

  3. Use MCP server: Ask LLM in Cursor some question and add "yes or no" in the end, Cursor will call MCP tool.

File Overview

  • stdio-example.ts: Main MCP server implementation.
  • copy-this-to-mcp-json.json: Example configuration for MCP server setup.

License

MIT

Quick Install

Quick Actions

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source