Skip to main content
Glama
JLex11

json-ui-renderer-mcp

by JLex11

Building a Remote MCP Server on Cloudflare (Optional Auth)

This example allows you to deploy a remote MCP server on Cloudflare Workers. Authentication is optional for local development and can be enabled with MCP_AUTH_TOKEN for public deployments.

Get started:

Deploy to Workers

This will deploy your MCP server to a URL like: remote-mcp-server-authless.<your-account>.workers.dev/mcp

Alternatively, you can use the command line below to get the remote MCP Server created on your local machine:

npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless

Related MCP server: first-mcp-server

Customizing your MCP Server

To add your own tools to the MCP server, define each tool inside the init() method of src/index.ts using this.server.tool(...).

Seguridad y contratos de UI

El endpoint /mcp acepta un token Bearer cuando existe el secreto MCP_AUTH_TOKEN. Para proteger un despliegue público, configura el secreto antes de conectarlo:

npx wrangler secret put MCP_AUTH_TOKEN

En desarrollo local, puedes definirlo en .dev.vars. Si no está definido, el endpoint permanece abierto para facilitar el desarrollo local.

Los Select usan una lista plana de textos en options, por ejemplo ["Todos", "Pendientes", "Listos"]; no uses objetos { label, value }.

Las interfaces están limitadas a 250 elementos, 100 filas por tabla, 100 opciones por selector y 500 KB por especificación para mantener tiempos de renderizado previsibles.

Connect to Cloudflare AI Playground

You can connect to your MCP server from the Cloudflare AI Playground, which is a remote MCP client:

  1. Go to https://playground.ai.cloudflare.com/

  2. Enter your deployed MCP server URL (remote-mcp-server-authless.<your-account>.workers.dev/mcp)

  3. You can now use your MCP tools directly from the playground!

Connect Claude Desktop to your MCP server

You can also connect to your remote MCP server from local MCP clients, by using the mcp-remote proxy.

To connect to your MCP server from Claude Desktop, follow Anthropic's Quickstart and within Claude Desktop go to Settings > Developer > Edit Config.

Update with this configuration:

{
	"mcpServers": {
		"calculator": {
			"command": "npx",
			"args": [
				"mcp-remote",
				"http://localhost:8787/mcp" // or remote-mcp-server-authless.your-account.workers.dev/mcp
			]
		}
	}
}

Restart Claude and you should see the tools become available.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables deploying a remote MCP server on Cloudflare Workers without authentication, allowing users to define custom tools and connect clients like Claude Desktop or Cloudflare AI Playground.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables deploying a remote MCP server without authentication on Cloudflare Workers, supporting custom tools and integration with Cloudflare AI Playground and Claude Desktop.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables deployment of a remote MCP server on Cloudflare Workers without authentication, allowing custom tools and integration with clients like Claude Desktop.
    -

Latest Blog Posts

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/JLex11/json-ui-renderer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server