Snappy remote MCP server on Cloudflare Workers with Xano backend

Snappy remote MCP server on Cloudflare Workers with Xano backend

remote-mcp-server-roboulos•byroboulos

A remote Model Context Protocol server deployed on Cloudflare Workers that implements Streamable HTTP transport and uses Xano for tool management, session tracking, OAuth, and logging.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Implements the Model Context Protocol Streamable HTTP transport with session creation, session tracking, protocol headers, and SSE streaming.
  • •Registers tools defined in Xano's mcp tools table so they become available in the MCP server.
  • •Tracks MCP sessions and stores OAuth tokens and states in Xano tables, and logs MCP requests.
  • •Supports multiple authentication methods including URL parameters, an Authorization Bearer header with x-user-id, and credentials in the initialization payload.

BEST FOR

  • •Connecting remote MCP clients such as Claude Desktop to a hosted MCP server over HTTP.
  • •Managing MCP tools and session state through a Xano database backend.
  • •Testing MCP servers with the latest Streamable HTTP transport protocol.

ABOUT REMOTE-MCP-SERVER-ROBOULOS

Snappy remote MCP server on Cloudflare Workers with Xano backend is cataloged as an MCP server attributed to roboulos. A remote Model Context Protocol server deployed on Cloudflare Workers that implements Streamable HTTP transport and uses Xano for tool management, session tracking, OAuth, and logging. It is categorized under developer tools. 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: Not specified. 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 Snappy remote MCP server on Cloudflare Workers with Xano backend 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

How does the server store OAuth tokens and states?

OAuth tokens and states are stored in Xano's oauth tokens and oauth states tables.

How does the server handle session IDs?

The server generates a unique session ID for new connections, and clients include it in future requests; each session's state persists in Xano.

Upstream README

View this exact version on GitHub

README.md · db16298295cd · Fetched 2026-11-13 12:16:42 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.

Snappy MCP Server with Xano Integration

A remote MCP server built on Cloudflare Workers with Xano database integration for tool management, session tracking, and OAuth. Now with full support for the latest Streamable HTTP transport protocol (2024-11-05).

Develop locally

# clone the repository
git clone https://github.com/roboulos/remote-mcp-server.git

# install dependencies
cd remote-mcp-server
npm install

# Configure Xano API Key
# Add your Xano API key to wrangler.jsonc in the XANO_API_KEY variable

# run locally
npm run dev

You should be able to open http://localhost:8787/ in your browser

Connect to your MCP server

Using the MCP Inspector (legacy)

To explore your new MCP API with the older SSE transport, you can use the MCP Inspector.

  • Start it with npx @modelcontextprotocol/inspector
  • Within the inspector, switch the Transport Type to SSE and enter http://localhost:8787/sse as the URL of the MCP server to connect to, and click "Connect"
  • You will navigate to a (mock) user/password login screen. Input any email and pass to login.
  • You should be redirected back to the MCP Inspector and you can now list and call any defined tools!

Using Workers AI Playground (Streamable HTTP)

To test with the latest Streamable HTTP transport protocol:

  1. Visit the Workers AI Playground
  2. When prompted to connect to an MCP server, enter your endpoint URL:
    https://remote-mcp-server.robertjboulos.workers.dev/mcp
    
    or for local testing:
    http://localhost:8787/mcp
    
  3. Provide authentication credentials when prompted:
    • auth_token: Your Xano authentication token
    • user_id: Your Xano user ID
  4. The Playground will handle session management automatically using the new protocol
MCP Inspector with the above config
MCP Inspector with after a tool call

Connect Claude Desktop to your local MCP server

Legacy SSE Transport

To connect using the older SSE transport, follow Anthropic's Quickstart and within Claude Desktop go to Settings > Developer > Edit Config to find your configuration file.

Open the file in your text editor and replace it with this configuration:

{
  "mcpServers": {
    "math": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    }
  }
}

This will run a local proxy and let Claude talk to your MCP server over HTTP.

To use the newer, more efficient Streamable HTTP transport with Claude Desktop, update your configuration to use the /mcp endpoint instead:

{
  "mcpServers": {
    "xano": {
      "remoteUrl": "http://localhost:8787/mcp",
      "auth": {
        "type": "bearer",
        "token": "YOUR_XANO_AUTH_TOKEN"
      },
      "headers": {
        "x-user-id": "YOUR_USER_ID"
      }
    }
  }
}

Replace YOUR_XANO_AUTH_TOKEN and YOUR_USER_ID with your actual credentials.

When you open Claude a browser window should open and allow you to login. You should see the tools available in the bottom right. Given the right prompt Claude should ask to call the tool.

Clicking on the hammer icon shows a list of available tools
Claude answers the prompt 'I seem to have lost my calculator and have run out of fingers. Could you use the math tool to add 23 and 19?' by invoking the MCP add tool

Xano Integration

This MCP server uses Xano as its backend for:

  1. Tool Management: Define tools in Xano's ____mcp_tools table and they will be automatically registered in the MCP server
  2. Session Tracking: All MCP sessions are tracked in the ___mcp_sessions table with unique session IDs
  3. OAuth Authentication: OAuth tokens and states are stored in Xano's ___oauth_tokens and ___oauth_states tables
  4. Logging: All MCP requests are logged in the ___mcp_logs table

Streamable HTTP Implementation

This server implements the latest Model Context Protocol Streamable HTTP transport (2024-11-05) with the following features:

Authentication Methods

The server supports multiple authentication mechanisms for maximum compatibility:

  1. URL Parameters: ?auth_token=xxx&user_id=yyy (legacy method)
  2. Authorization Header: Authorization: Bearer xxx with x-user-id header (modern method)
  3. Request Body: Auth parameters can be included in the initialization payload

Session Management

The server handles session IDs according to the latest spec:

  1. Session Creation: The server generates a unique session ID for new connections
  2. Session Tracking: Clients store this ID and include it in future requests as ?sessionId=xxx
  3. State Persistence: Each session maintains its own state in Xano, which persists across requests

Protocol Compliance

The implementation includes proper support for:

  1. Unified Message Endpoint: Support for the /mcp/message endpoint pattern
  2. Protocol Headers: All responses include proper headers like MCP-Available-Transports
  3. SSE Streaming: Enhanced SSE support for streaming responses
  4. Response Format: Standard JSON-RPC 2.0 format with protocol-specific extensions

Setting up Xano

  1. Create a Xano project with the required tables (see database schema)
  2. Create API endpoints for:
    • /api/tools - GET - List all tools
    • /api/tools/execute/{tool_name} - POST - Execute a specific tool
    • /api/sessions - POST - Create a new session
    • /api/sessions/update-activity - PUT - Update session activity
    • /api/oauth/tokens - POST - Store OAuth tokens
    • /api/oauth/tokens/{user_id}/{provider} - GET - Get OAuth tokens
    • /api/oauth/states - POST - Store OAuth states
    • /api/oauth/states/{state} - GET - Validate OAuth states
    • /api/logs - POST - Log MCP requests

Deploy to Cloudflare

  1. npx wrangler kv namespace create OAUTH_KV
  2. Follow the guidance to add the kv namespace ID to wrangler.jsonc
  3. Add your Xano API key to the XANO_API_KEY variable in wrangler.jsonc
  4. npm run deploy

Call your newly deployed remote MCP server from a remote MCP client

Just like you did above in "Develop locally", run the MCP inspector:

npx @modelcontextprotocol/inspector@latest

Then enter the workers.dev URL (ex: worker-name.account-name.workers.dev/sse) of your Worker in the inspector as the URL of the MCP server to connect to, and click "Connect".

You've now connected to your MCP server from a remote MCP client.

Connect Claude Desktop to your remote MCP server

Update the Claude configuration file to point to your workers.dev URL (ex: worker-name.account-name.workers.dev/sse) and restart Claude

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

Debugging

Should anything go wrong it can be helpful to restart Claude, or to try connecting directly to your MCP server on the command line with the following command.

npx mcp-remote http://localhost:8787/sse

In some rare cases it may help to clear the files added to ~/.mcp-auth

rm -rf ~/.mcp-auth

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 Snappy remote MCP server on Cloudflare Workers with Xano backend 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-roboulos)

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 developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools