An open API service indexing awesome lists of open source software.

https://github.com/rgdevme/mcp


https://github.com/rgdevme/mcp

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# MCP Playground

This repository is a playground I use to practice and understand the MCP protocol.

Currently it contains:

- An MCP server that exposes 2 tools and consumes a weather API (http://api.weather.gov)
- An MCP client that exposes an stdio process to prompt the weather api

## Getting started

```
npm i

# run server
npm run build -w @mcp/server

# run stdio client example
echo "API_KEY=" >> packages/client/.env
npm run build -w @mcp/client
npm run run -w @mcp/client

# run stdio host example
echo -e "API_KEY_OPENAI=\API_KEY_GEMINI=" >> packages/host/.env
npm run build -w @mcp/host
npm run run -w @mcp/host

```