Okta Calculator MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Okta Calculator MCP Serveradd 15 and 27"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/naman-monga-tf/mcp-passhtrough'
If you have feedback or need assistance with the MCP directory API, please join our Discord server