effect-stateless-mcp
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., "@effect-stateless-mcpGreet Alice formally"
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.
effect-stateless-mcp
A stateless MCP server (Model Context Protocol, spec 2026-07-28) that exposes a greet tool. Built and tested with Effect.ts v4 and run on Bun.
The server is fully stateless: a fresh McpServer instance is created per HTTP request, so no session state is retained between calls (no initialize handshake, no Mcp-Session-Id).
Requirements
Bun (v1.3.14+)
Node types are provided by Bun; no separate Node install needed
Related MCP server: Bun Fun MCP Server
Install
bun installRun
bun run src/index.tsBy default the server listens on http://localhost:3000/mcp. Override the port with the PORT environment variable (read via Effect's Config):
PORT=8787 bun run src/index.tsCalling the greet tool
Send a JSON-RPC tools/call request to the /mcp endpoint:
curl -s -X POST http://localhost:3000/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": { "name": "greet", "arguments": { "name": "Ada", "style": "formal" } }
}'The greet tool accepts:
Field | Type | Required | Description |
|
| yes | Name to greet (trimmed, 1–100 chars) |
|
| no | Greeting style (defaults to |
Test
Tests use vitest with @effect/vitest:
bun run testType-check
bunx tsc --noEmitProject structure
File | Responsibility |
| Domain logic — |
| Stateless MCP handler — registers the |
| Entry point — starts |
License
See repository for details.
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.
Related MCP Servers
- AlicenseBqualityDmaintenanceA simple TypeScript MCP server that provides two tools: one for greeting users with a customizable name and another for adding two numbers together.211MIT
- Alicense-qualityDmaintenanceA simple example MCP server built with Bun that provides basic utility tools including current time retrieval, message echoing, and number addition. Serves as a template for building MCP servers with Bun runtime.106MIT
- -licenseCquality-maintenanceA simple boilerplate MCP server that provides a basic greeting tool for demonstration purposes. Serves as a starting template for developers to quickly create and deploy custom MCP servers.111
- Flicense-qualityBmaintenanceA generic template for developing MCP servers with basic examples including echo tool, server info resource, and greeting prompt. Provides a starting point for building custom MCP servers with Bun.13
Related MCP Connectors
MCP (Model Context Protocol) server for Appwrite
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
An MCP server for Arcjet - the runtime security platform that ships with your AI code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/forthy/effect-stateless-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server