From 17a65d1e33d94bd2637d0079b46a0774bb0e4931 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 5 Feb 2026 12:35:08 +0000 Subject: [PATCH] Add templates and tests --- src/mcp_server_cli/templates/calculator.yaml | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/mcp_server_cli/templates/calculator.yaml diff --git a/src/mcp_server_cli/templates/calculator.yaml b/src/mcp_server_cli/templates/calculator.yaml new file mode 100644 index 0000000..06e9a02 --- /dev/null +++ b/src/mcp_server_cli/templates/calculator.yaml @@ -0,0 +1,26 @@ +name: calculator +description: Perform basic mathematical calculations + +input_schema: + type: object + properties: + operation: + type: string + description: Operation to perform + enum: [add, subtract, multiply, divide] + required: true + a: + type: number + description: First operand + required: true + b: + type: number + description: Second operand + required: true + required: + - operation + - b + +annotations: + read_only_hint: true + destructive_hint: false