Okta Calculator MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Okta Calculator MCP Server
Simple MCP server (Streamable HTTP) that exposes basic calculator tools and validates an Okta access token on tool calls.
Features
Calculator tools:
add,subtract,multiply,divideOkta auth via Bearer token: tool calls require an
Authorization: Bearer <okta-jwt>headerValidation: the server verifies the token as a JWT signed by Okta using the Okta JWKS endpoint (signature, issuer, audience, expiry)
Discovery calls (
initialize,tools/list) work without a token, so gateways can list tools
Prerequisites
Node.js 20+
Configuration
Okta config is hardcoded in src/server.ts:
Issuer:
https://truefoundry.okta.com(Okta org authorization server)Audience:
https://truefoundry.okta.comJWKS:
https://truefoundry.okta.com/oauth2/v1/keys
The HTTP port defaults to 8080 and can be overridden with the PORT env var.
Install, build and run
npm install
npm run build
npm startFor local development:
npm run devEndpoints
POST /mcp(andPOST /): MCP Streamable HTTP endpointGET /health: health probe, returns{"status":"ok"}
MCP tools
Each tool takes a and b (numbers):
add: returnsa + bsubtract: returnsa - bmultiply: returnsa * bdivide: returnsa / b(errors on divide-by-zero)
Tool calls without a valid Okta Bearer token get HTTP 401:
Unauthorized: invalid or missing Okta token.
Docker
docker build -t okta-calculator-mcp .
docker run -p 8080:8080 okta-calculator-mcpTrueFoundry MCP Gateway
Register the deployed URL as a remote MCP server with Token Passthrough auth, so the gateway forwards the caller's Okta Bearer token to this server on tool calls.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Tested financial & practical calculators as free, no-auth MCP tools for AI agents.
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
Loan & mortgage calculator, compound interest, ROI, crypto prices, FX conversion for AI agents.
x402 pay-per-call agent tools: token safety/honeypot check, speech to text, TTS, translate, OCR, web
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceA calculator server that exposes mathematical functions as tools (add, subtract, multiply, divide, square, power, square root), enabling language models to perform calculations through Model Context Protocol (MCP).-
- AlicenseDqualityDmaintenanceProvides basic mathematical operations (addition, subtraction, multiplication, division) through a calculate tool. Supports both stdio and HTTP/SSE transport modes.113 npmISC
- FlicenseNot gradedqualityDmaintenanceProvides basic calculator operations (add, subtract, multiply, divide) as MCP tools for use with Claude Desktop and other MCP clients.-
- FlicenseNot gradedqualityDmaintenanceExposes calculator operations (add, subtract, multiply, divide, power) as MCP tools, allowing users to perform arithmetic calculations through natural language in MCP-compatible clients like Cursor.-