Simple 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.
Simple MCP Server
A small Node.js and TypeScript MCP server that exposes time, calculation, restricted filesystem, and public URL fetching tools over stateless Streamable HTTP.
Requirements
Node.js 20 or newer
npm
Related MCP server: Simple MCP Server
Setup and start
npm install
npm run build
npm startThe default MCP endpoint is http://127.0.0.1:3000/mcp. A health check is available at http://127.0.0.1:3000/health.
For explicit local configuration:
$env:MCP_WORKSPACE_ROOT = "C:\path\to\allowed\workspace"
$env:MCP_ALLOW_WRITE = "false"
$env:MCP_HTTP_HOST = "127.0.0.1"
$env:MCP_HTTP_PORT = "3000"
npm startTools and resources
Tool | Description |
| Get the current time in an IANA time zone. |
| Evaluate a side-effect-free mathematical expression. |
| Read a UTF-8 file under the configured workspace. |
| List a directory under the configured workspace. |
| Write a UTF-8 file when |
| Fetch a public HTTP(S) URL with SSRF, timeout, and size checks. |
Resources are available at server://info and workspace://config.
Configuration
Variable | Default | Purpose |
| Current directory | Filesystem sandbox root. |
|
| Enables |
|
| Maximum file read/write size. |
|
| Whole-request timeout, including redirects and body reads. |
|
| Maximum fetched response body size. |
|
| HTTP listen address. |
|
| HTTP listen port. |
|
| MCP endpoint path. |
| Empty | Bearer token. Required for non-loopback listen addresses. |
| Empty | Alias for |
| Empty | Optional comma-separated Host header allowlist. |
Connect an external agent
For access from another machine, bind the server to all interfaces and configure a strong API key:
$env:MCP_HTTP_HOST = "0.0.0.0"
$env:MCP_HTTP_PORT = "3000"
$env:MCP_API_KEY = "replace-with-a-long-random-secret"
$env:MCP_ALLOWED_HOSTS = "mcp.example.com"
npm startConfigure a URL-based MCP client such as Codex:
[mcp_servers.simple-toolbox]
url = "https://mcp.example.com/mcp"
bearer_token_env_var = "SIMPLE_MCP_API_KEY"Set SIMPLE_MCP_API_KEY in the Agent process environment to the same value as the server's MCP_API_KEY. For local development, use http://127.0.0.1:3000/mcp; for remote access, put the service behind an HTTPS reverse proxy. Do not expose plain HTTP or enable filesystem writes on an untrusted network.
Development
npm run dev
npm test
npm run test:smokenpm run test:smoke builds the project, starts it on a random local port, verifies Bearer authentication, completes a Streamable HTTP MCP handshake, lists tools and resources, and calls the calculator tool.
The server is stateless: each MCP POST request creates an isolated server transport. Standalone GET/SSE and DELETE session operations return HTTP 405. This is appropriate for the current request-response tools, but not for server-initiated notifications or resumable long-running streams.
The network guard rejects localhost, private, link-local, multicast, and reserved IP address ranges. DNS rebinding protection at the outbound socket connection layer is outside this simple server's scope; deploy behind an egress proxy when stronger network isolation is required.
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
Tiny devtools MCP server: slugs, timestamps, case conversion, hashing, base64, UUIDs.
Read-only developer, date, finance, and text utilities. Authless remote MCP server by Clean.tools.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA basic educational MCP server that provides simple tools for mathematical calculations, text manipulation, and time retrieval. Designed for learning MCP implementation patterns and development purposes.-
- AlicenseNot gradedqualityDmaintenanceA self-contained, dependency-free MCP server that provides utility tools for time, date, mathematical calculations, and shell command execution. It supports remote connectivity through SSE and is designed for easy deployment via Docker.GPL 3.0
- FlicenseNot gradedqualityDmaintenanceA lightweight MCP server providing tools for adding integers, getting current time, and fetching weather forecasts via wttr.in.-
- FlicenseNot gradedqualityDmaintenanceA minimal MCP server providing basic tools for arithmetic, text echoing, and timezone-aware current time retrieval.-