Skip to content

opencontextprotocol/ocp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCP Server

Deployment infrastructure for the Open Context Protocol specification site and registry API.

Architecture

  • Caddy: Reverse proxy with automatic HTTPS via Let's Encrypt
  • Hugo Site: Static documentation from ocp-spec
  • Registry API: FastAPI service from ocp-registry

All services run as Docker containers orchestrated by Docker Compose, using pre-built images from GitHub Container Registry.

Deployment

Automated Setup

Run the setup script on a fresh Ubuntu 22.04/24.04 VPS:

curl -fsSL https://raw.githubusercontent.com/opencontextprotocol/ocp-server/main/setup-vps.sh | bash

This installs Docker, clones the repo, and creates the .env configuration file.

Manual Deployment

# Clone repository
git clone https://github.com/opencontextprotocol/ocp-server.git
cd ocp-server

# Configure environment
cp .env.example .env
# Edit .env to set your domain

# Pull and start services
docker compose pull
docker compose up -d

# View logs
docker compose logs -f

Configuration

  • docker-compose.yml: Service definitions, networking, and image references
  • Caddyfile: Reverse proxy routing and automatic HTTPS configuration
  • .env: Environment variables (domain name for production)

Environment Variables

Copy .env.example to .env and configure:

  • DOMAIN: Your production domain (e.g., opencontextprotocol.io) or localhost for local testing

Services

About

Deployment infra for Open Context Protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages