Simple Calculator Code MCP Server

This folder contains a minimal Code MCP server template for SAS Retrieval Agent Manager (RAM).

It demonstrates the smallest useful MCP server setup: one tool implemented in run.py and no external dependencies.

Template Files

  • run.py: MCP tool implementation and definition

Tools

add(a: int, b: int) -> int

Adds two integers and returns the result.

  • Input: a, b (integers)
  • Output: integer sum of a + b

Environment Variables (Optional)

No environment variables are required for this example.

Notes

  • This example is useful as a starter template for creating additional tools.

Back to top

Open source under the Apache License 2.0. Provided AS IS, without warranties, responsibility, or support from SAS except where applicable law requires otherwise.