MCP Server - Example Deployment

MCP Server - Example Deployment

By jhgaylor GitHub

-

Overview

what is Remote MCP Server on Cloudflare?

Remote MCP Server on Cloudflare is a project that enables users to set up a remote Model Context Protocol (MCP) server using Cloudflare Workers, complete with OAuth login functionality.

how to use Remote MCP Server on Cloudflare?

To use the Remote MCP Server, clone the repository, install dependencies, and run the server locally. You can then connect to the server using the MCP Inspector or integrate it with Claude Desktop for enhanced functionality.

key features of Remote MCP Server on Cloudflare?

  • Easy setup of a remote MCP server on Cloudflare Workers.
  • OAuth login for secure access.
  • Integration with tools like MCP Inspector and Claude Desktop.
  • Local development and deployment capabilities.

use cases of Remote MCP Server on Cloudflare?

  1. Setting up a remote server for model context protocol applications.
  2. Connecting various clients to a centralized MCP server.
  3. Facilitating secure access to tools and services through OAuth.

FAQ from Remote MCP Server on Cloudflare?

  • Can I run this server locally?

Yes! You can develop and run the server locally before deploying it to Cloudflare.

  • How do I connect to the MCP server?

You can connect using the MCP Inspector or configure clients like Claude Desktop to communicate with your server.

  • Is there a way to debug connection issues?

Yes, you can restart the client or connect directly to the MCP server via command line for troubleshooting.

Content

MCP Server - Example Deployment

This repository serves as an example deployment of me-mcp-server - a Model Context Protocol (MCP) server that allows AI assistants to access your professional information.

What is me-mcp-server?

The me-mcp-server is a MCP implementation that provides AI assistants with structured access to:

  • Your resume and professional profile
  • Job search preferences
  • LinkedIn and personal website information

This Example Deployment

This repository demonstrates how to deploy the me-mcp-server with:

  • Docker and Docker Compose
  • Automatic HTTPS certificates via Traefik
  • Custom environment configuration

Deployment Instructions

  1. Fork or clone this repository
  2. Create your environment file (.env.your-domain) with your personal details (see example below)
  3. Update the docker-compose.yml file:
    env_file:
      - .env.your-domain  # Point to your config file
    environment:
      - SERVER_NAME=your-domain  # Your identifier
    labels:
      - "traefik.http.routers.mcp-server.rule=Host(`mcp.your-domain.com`)"  # Your domain
    
  4. Deploy with Docker Compose: docker-compose up -d
  5. Point your domain to your server's IP address

Environment Configuration

The .env.your-domain file controls what information will be shared with AI assistants:

# Personal/Profile Information
PROFILE_NAME="Your Name"
RESUME_URL=https://yourdomain.com/resume.pdf
LINKEDIN_URL=https://linkedin.com/in/yourusername
WEBSITE_URL=https://yourdomain.com
RESUME_TEXT="Your resume text here..."

# Job Search Parameters
MIN_SALARY=100000
MAX_SALARY=200000
JOB_LOCATION=Remote
COMPANY_TYPE=Startup

me-mcp-server Features

The deployed server will provide the following capabilities to AI assistants:

Prompts

  • JobSearch - Generate job search instructions tailored to your profile with specified salary range, location, and company type preferences.

Resources

  • Resume Text - Access your full resume text (candidate-info://resume)
  • Resume URL - Get the URL to your resume PDF (candidate-info://resume-url)
  • LinkedIn Profile URL - Access your LinkedIn profile (candidate-info://linkedin-url)
  • Website URL - Get your personal website URL (candidate-info://website-url)
  • Website Contents - Fetch and analyze the HTML contents of your website (candidate-info://website-contents)

Technical Details

  • TLS: Uses Traefik with Let's Encrypt for automatic HTTPS certificate management
  • Integration Options: Works with existing reverse proxy setups by removing the Traefik labels and configuring your own proxy

Security Considerations

  • Ensure your server has proper security measures in place
  • Consider the sensitivity of the information in your environment file
  • Use HTTPS for all traffic (enabled by default)

For More Information

For more details about the me-mcp-server itself, including configuration options, transport mechanisms, and local development, visit the main project repository: jhgaylor/me-mcp-server

No tools information available.
No content found.