# McpClientServerDemo

> A simple MCP Server & Client example with mcp.json config

- **Type:** MCP server
- **Install:** `agentstack add mcp-egorbo-mcpclientserverdemo`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [EgorBo](https://agentstack.voostack.com/s/egorbo)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [EgorBo](https://github.com/EgorBo)
- **Source:** https://github.com/EgorBo/McpClientServerDemo

## Install

```sh
agentstack add mcp-egorbo-mcpclientserverdemo
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# McpClientServerDemo

A simple MCP Server &amp; Client example with mcp.json config.
The mcp.json roughly matches VSCode's [settings.json](https://code.visualstudio.com/docs/copilot/chat/mcp-servers), so in theory it can just import VSCode's settings.

**Server** (aspnet Minimal API, SSE) defines the following MCP servers:
  * Youtube subtitles extractor

**Client** (Console app, OpenAI client) consumes the following MCP servers defined in `mcp.json`:
  * Youtube subtitles extractor ^
  * Yahoo Finance server
  * Airbnb server
  * Hacker News
  * Simple Calculator
    
(_just a bunch of random public cloud MCP servers for the demo purposes_)

Prompt example:
```
Short explanation of the problem described in this video https://www.youtube.com/watch?v=iSNsgj1OCLA.
Also, print the current price of MSFT stock
```
Answer:
```
 ** calling func ExtractYoutubeSubtitles(...) **
 ** calling func get_ticker_info(...) **

Short explanation of the problem in the video:
The video describes the "100 prisoners problem," a counterintuitive logic puzzle. There are
100 prisoners, each numbered 1 to 100, and 100 boxes, each hiding a slip with a unique prisoner
number. Each prisoner, one at a time, can open up to 50 boxes to find their own number. If all
prisoners succeed, they go free; if even one fails, all are executed. If they choose boxes
randomly, the chance of everyone surviving is astronomically small. However, using a clever
strategy-each prisoner following a chain by starting at the box with their own number and
always moving to the box whose number is on the slip they find-the probability of all surviving
rises to about 31%. The catch: it relies on the arrangement of numbered loops in the boxes,
and the math behind it is strikingly unintuitive.

Current price of MSFT stock:
Microsoft Corporation (MSFT) is currently trading at $449.26 USD.
```

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [EgorBo](https://github.com/EgorBo)
- **Source:** [EgorBo/McpClientServerDemo](https://github.com/EgorBo/McpClientServerDemo)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-egorbo-mcpclientserverdemo
- Seller: https://agentstack.voostack.com/s/egorbo
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
