This commit adds a complete deployment solution for running Claude OS's MCP (Model Context Protocol) server as a standalone service, separate from the full coding environment. This allows other applications to access the knowledge bases without requiring the CLI or coding tools. Features: - Docker-based deployment with Ollama integration - Automated setup script with model pulling - Read-only database mounting by default - CORS and authentication configuration - Complete API documentation and examples - Python and JavaScript client examples Also includes alternative Cloudflare Workers implementation: - TypeScript starter template - D1 and Vectorize integration examples - Migration scripts and documentation - Deployment comparison guide Files added: - deployment/mcp-only/Dockerfile - deployment/mcp-only/docker-compose.yml - deployment/mcp-only/requirements.txt - deployment/mcp-only/setup.sh - deployment/mcp-only/.env.example - deployment/mcp-only/.dockerignore - deployment/mcp-only/README.md - deployment/mcp-only/DEPLOYMENT_COMPARISON.md - deployment/mcp-only/examples/chat-integration.py - deployment/mcp-only/examples/chat-integration.js - deployment/mcp-only/cloudflare-workers/* This addresses the need to expose MCP data to other applications (knowledge base access, live chat) without deploying the full Claude OS environment to production servers.
28 lines
752 B
JSON
28 lines
752 B
JSON
{
|
|
"name": "claude-os-mcp-cloudflare",
|
|
"version": "1.0.0",
|
|
"description": "Claude OS MCP Server on Cloudflare Workers",
|
|
"main": "src/index.ts",
|
|
"scripts": {
|
|
"dev": "wrangler dev",
|
|
"deploy": "wrangler deploy",
|
|
"tail": "wrangler tail",
|
|
"d1:create": "wrangler d1 create claude-os-db",
|
|
"d1:import": "wrangler d1 execute claude-os-db --file=schema.sql",
|
|
"vectorize:create": "wrangler vectorize create claude-os-vectors --dimensions=768 --metric=cosine"
|
|
},
|
|
"keywords": [
|
|
"mcp",
|
|
"knowledge-base",
|
|
"rag",
|
|
"cloudflare",
|
|
"workers"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^4.20240129.0",
|
|
"typescript": "^5.3.3",
|
|
"wrangler": "^3.22.0"
|
|
}
|
|
}
|