updated mcp spec tut
Click on "Deploy 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., "@updated mcp spec tutdeploy my app to production"
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.
updated mcp spec tut
Small MCP server that plays with the newer bits of the spec: elicitation
(interactive confirm dialogs), signed request state, and cache hints on
tools/list. Ships as a plain Node server and as a Cloudflare Worker, same
handler underneath.
What it does
The deploy tool needs confirmation before it does anything. If the
connecting client supports elicitation, the server pops a real confirm
dialog and mints a signed, short lived state token to track that flow. If
the client doesn't support elicitation, it falls back to a
confirm: true argument instead. legacy-client-test.ts exercises that
fallback path directly.
Every request builds a fresh McpServer instance, so server_stats
shows you the process is stateless per request while list_deployments
proves you can still keep real state around (in memory here, for the demo).
Related MCP server: MCP Gateway Demo
Run it
npm install
npm run server # starts on http://127.0.0.1:3000/mcp
npm run client # connects, deploys, reads it backCloudflare Worker
Same MCP handler, just wired through worker.ts and wrangler.jsonc.
npx wrangler dev
npx wrangler deploySet STATE_KEY in production so every instance verifies request state
with the same secret.
Files
bot.ts: the actual MCP server and toolsserver.ts: Node entrypoint (Hono +@hono/node-server)worker.ts: Cloudflare Worker entrypointclient.ts: demo client with elicitation supportlegacy-client-test.ts: demo client without it, uses the fallback
enjoy!! :)
This server cannot be deployed
Maintenance
Related MCP Connectors
Experimental MCP server for current empirical verification of explicit public HTTPS endpoint claims.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for Boson Protocol — on-chain agentic commerce for physical & digital goods.
- StytchOAuthdev.stytch.mcp
The Stytch MCP server is a reference implementation that demonstrates remote MCP server authentication and authorization using Stytch Connected Apps. It provides OAuth 2.1-compliant authorization (including PKCE), Dynamic Client Registration, and validates Stytch-issued access tokens to enable AI agents to securely interact with external services through permissioned access, supporting scopes like openid, email, profile, and manage:project_data.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceA Cloudflare-deployable server that implements Model Context Protocol (MCP) capabilities, allowing AI assistants like Claude to access custom tools via OAuth authentication flows.-
- FlicenseNot gradedqualityDmaintenanceA reference implementation of an MCP server built with Express that integrates full OAuth 2.1 authorization and RFC9728 protected resource metadata. It enables secure, authenticated communication between MCP clients and servers using streamable HTTP transport and built-in authorization flows.-
- AlicenseNot gradedqualityCmaintenanceProvides a sovereign, MIT-licensed MCP server for professional-service workflows, running entirely on your infrastructure with Ed25519 cryptographic signing for every action.MIT
- AlicenseNot gradedqualityDmaintenanceA complete MCP server implementation demonstrating all protocol features (tools, resources, prompts, sampling, and elicitation) with OAuth authentication, serving as a learning resource and starting template for building MCP servers.MIT