# Typescript Mcp Client Server

> MCP Client & Server

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

## Install

```sh
agentstack add mcp-ijshd7-typescript-mcp-client-server
```

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

## About

# MCP Weather Client & Server Example with Typescript

This is a tutorial project demonstrating the use of the [Model Context Protocol (MCP)](https://modelcontextprotocol.io) with Anthropic's Claude models. The app includes a simple CLI-based client and a weather tools server, which communicates via MCP over stdio.

## Features

- 🔌 MCP-compliant server exposing tools like `get-alerts` and `get-forecast`
- 🤖 CLI client using Anthropic Claude (via the `@anthropic-ai/sdk`) to call tools
- 🛠️ Written in TypeScript for the client and server
- 🌦️ Example tools provide weather alert and forecast info
- 🔐 Supports `.env` configuration with `ANTHROPIC_API_KEY`

---

## Getting Started

### Prerequisites

- Node.js v20+
- An [Anthropic API key](https://console.anthropic.com/settings/keys)
- NOTE: You will need credits added

### Running
- In `client`: `npm install && npm run build`
- In `server`: `npm install && npm run build`
- In `client`: `node build/index.js ../server/build/index.js`

## Source & license

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

- **Author:** [ijshd7](https://github.com/ijshd7)
- **Source:** [ijshd7/typescript-mcp-client-server](https://github.com/ijshd7/typescript-mcp-client-server)
- **License:** ISC

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:** yes
- **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-ijshd7-typescript-mcp-client-server
- Seller: https://agentstack.voostack.com/s/ijshd7
- 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%.
