Skip to content

Examples

The smallest valid MCP Description: one stdio transport and one tool.

mcpdesc: 0.7.0
info:
name: chess-rating-server
title: Chess Rating MCP Server
version: 1.0.0
transports:
- type: stdio
command: chess-rating
args:
- serve
tools:
- name: get_player_rating
description: Get the current Elo rating for a chess player
inputSchema:
type: object
properties:
player_id:
type: string
description: Player identifier
required:
- player_id

The canonical repository provides additional examples covering more transports and features:

You can open any of these in the Live Editor to explore and validate them.