40%

Complete your profile to find better job opportunities

toy-mcp-server
GitHubRepository

toy-mcp-server

  • 0 stars
  • 0 forks
  • TypeScript language
View on GitHub
Published
22 Aug 2026
AI summary

A TypeScript and JavaScript project creating a minimal Model Context Protocol (MCP) server. It provides tools for dice rolling and coin flipping, and resources like server metadata. The server is designed to be a hands-on learning project, connecting with a client like Claude Desktop via stdio.

From the README

toy-mcp-server A minimal Model Context Protocol (MCP) server built from scratch to learn how MCP actually works — no boilerplate generators, no templates, just the SDK. Built as a first hands-on MCP project: two tools and one resource, wired into Claude Desktop over stdio. What it does MCP lets an LLM client (like Claude Desktop) call functions running on your own machine, instead of only generating text from its training data. This server exposes: Tools (functions Claude can call): • rolldice — rolls N dice with a configurable number of sides • flipcoin — flips a coin N times Resources (read-only data Claude can fetch): • server-info — basic metadata about the server (name, purpose,...

Skills

  • TypeScript
  • JavaScript

More work by Kritika Tripathi