Examples
Minimal example
Section titled “Minimal example”The smallest valid MCP Description: one stdio transport and one tool.
mcpdesc: 0.7.0info: name: chess-rating-server title: Chess Rating MCP Server version: 1.0.0transports:- type: stdio command: chess-rating args: - servetools:- 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_idMore examples
Section titled “More examples”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.