Remote MCP server on Cloudflare Workers

Remote MCP server on Cloudflare Workers

remote-mcp-server-ivannafigueroa•byivannafigueroa

A reference remote Model Context Protocol server deployed on Cloudflare Workers that offers a greeting tool and a real-time web search tool.

License: MIT License•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Exposes a simple greeting tool that generates personalized greetings.
  • •Provides a web search tool that performs real-time searches and returns relevant results.
  • •Supports OAuth authentication for secure access.
  • •Can be deployed to Cloudflare Workers.

BEST FOR

  • •Testing MCP tool connectivity with AI assistants like Cursor and Claude Desktop.
  • •Retrieving real-time web search information through an AI assistant.
  • •Learning how to build custom MCP servers with OAuth on Cloudflare Workers.

ABOUT REMOTE-MCP-SERVER-IVANNAFIGUEROA

Remote MCP server on Cloudflare Workers is cataloged as an MCP server attributed to ivannafigueroa. A reference remote Model Context Protocol server deployed on Cloudflare Workers that offers a greeting tool and a real-time web search tool. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Remote MCP server on Cloudflare Workers are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which tools does this server offer?

It offers a greeting tool for personalized greetings and a web search tool for real-time information retrieval.

Where can this server be deployed?

It is designed to be deployed on Cloudflare Workers.

Upstream README

View this exact version on GitHub

README.md · 49d3a80cb4c3 · Fetched 2026-11-13 11:05:02 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Remote MCP Server with Web Search on Cloudflare

A production-ready remote MCP (Model Context Protocol) server deployed on Cloudflare Workers that implements a greeting tool and web search functionality. This server demonstrates how to build and deploy custom tools that can be used by AI assistants like Cursor and Claude Desktop.

Overview

This project serves as a reference implementation for:

  • Building custom MCP servers
  • Implementing OAuth authentication
  • Deploying MCP servers to Cloudflare Workers
  • Connecting AI assistants to custom tools
  • Integrating web search capabilities

Features

  • 🚀 Remote MCP server deployed on Cloudflare Workers
  • 🔐 OAuth authentication for secure access
  • 👋 Simple greeting tool for testing MCP functionality
  • 🔍 Web search tool for real-time information retrieval
  • 🤖 Compatible with Cursor and Claude Desktop
  • 📊 Built-in MCP Inspector support
  • 📦 Easy local development setup
  • 🛠️ Production-ready deployment configuration

Prerequisites

  • Node.js 18 or later
  • pnpm package manager
  • Cloudflare account (for deployment)
  • Git
  • API key for web search service (optional)

Local Development

  1. Clone the repository:
# Using HTTPS
git clone https://github.com/cloudflare/ai.git

# Or using SSH
git clone git@github.com:cloudflare/ai.git
  1. Install dependencies:
cd ai
pnpm install
  1. Configure environment variables (optional):
# Create a .env file
cp .env.example .env

# Add your web search API key if needed
WEB_SEARCH_API_KEY=your_api_key_here
  1. Start the development server:
npx nx dev remote-mcp-server

The server will be available at http://localhost:8787/

Integration Guide

Connecting to Cursor

  1. Open Cursor and navigate to Settings > AI Settings
  2. In the MCP Configuration section, add:
{
  "mcpServers": {
    "greeting": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    },
    "webSearch": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    }
  }
}
  1. Restart Cursor
  2. When prompted, log in with any email and password (mock authentication for testing)
  3. Test the tools by:
    • Asking Cursor to greet someone
    • Requesting web search results for a query

Connecting to Claude Desktop

  1. Open Claude Desktop and go to Settings > Developer > Edit Config
  2. Add the following configuration:
{
  "mcpServers": {
    "greeting": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    },
    "webSearch": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    }
  }
}
  1. Restart Claude Desktop
  2. Log in with any email and password
  3. Test the tools by:
    • Asking Claude to greet someone
    • Requesting web search results for a query

Testing with MCP Inspector

  1. Start the inspector:
npx @modelcontextprotocol/inspector
  1. Open http://localhost:5173 in your browser
  2. Configure the connection:
    • Set Transport Type to SSE
    • Enter http://localhost:8787/sse as the MCP server URL
    • Click "Connect"
  3. Log in with any email and password
  4. Test both tools:
    • Use the greeting tool to send a greeting
    • Use the web search tool to search for information

Available Tools

Greeting Tool

  • Simple tool that generates personalized greetings
  • Usage: Ask the AI to greet someone by name
  • Example: "Please greet John"

Web Search Tool

  • Performs real-time web searches
  • Returns relevant search results
  • Usage: Ask the AI to search for information
  • Example: "Search for the latest news about AI"

Deployment

Deploying to Cloudflare

  1. Create a KV namespace:
npx wrangler kv namespace create OAUTH_KV
  1. Add the KV namespace ID to wrangler.jsonc
  2. Configure environment variables in Cloudflare:
    • Go to Workers > Your Worker > Settings > Variables
    • Add your web search API key if needed
  3. Deploy to Cloudflare:
npm run deploy

Connecting to the Deployed Server

Update your configuration in Cursor or Claude Desktop to use your worker's URL:

{
  "mcpServers": {
    "greeting": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://your-worker-name.your-account.workers.dev/sse"
      ]
    },
    "webSearch": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://your-worker-name.your-account.workers.dev/sse"
      ]
    }
  }
}

Troubleshooting

Common Issues

  1. Connection Issues

    • Verify the server is running locally
    • Check if the port 8787 is available
    • Ensure your firewall isn't blocking the connection
  2. Authentication Problems

    • Clear the auth files:
    rm -rf ~/.mcp-auth
    
    • Restart the application
    • Try logging in again
  3. Tool Not Working

    • Verify the configuration is correct
    • Check the browser console for errors
    • Review server logs for any issues
  4. Web Search Issues

    • Verify your API key is correctly configured
    • Check if you've reached API rate limits
    • Ensure your search query is properly formatted

Debugging

  1. Test the connection directly:
npx mcp-remote http://localhost:8787/sse
  1. Check server logs:
npx wrangler tail
  1. Monitor web search requests:
npx wrangler tail --format=pretty

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you encounter any issues or have questions:

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Remote MCP server on Cloudflare Workers from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/remote-mcp-server-ivannafigueroa)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research