Skip to content

Remote HTTP Hosting & Security Enhancements

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Jun 13:50
· 1 commit to main since this release
ef12c9e

ValTown MCP Server v0.8 🚀

A major release introducing remote HTTP hosting capabilities and comprehensive security improvements. The ValTown MCP Server can now be deployed and accessed directly on ValTown itself!

🌟 Major Features

🌐 Remote HTTP Transport & ValTown Hosting

  • NEW: Complete HTTP MCP server implementation deployed on ValTown
  • NEW: Streamable HTTP transport support for MCP protocol over HTTP
  • NEW: Header-based authentication with X-Val-Town-Token
  • NEW: CORS middleware for cross-origin requests
  • NEW: GET endpoint for server info and status

📚 Enhanced Documentation

  • NEW: Comprehensive CLAUDE.md with ValTown platform context for developers
  • IMPROVED: README with online connection method (hosted server)
  • IMPROVED: Clear documentation of dual deployment modes (local vs remote)

🔧 API & Architecture Improvements

  • UPGRADED: V2 APIs with enhanced prompt system
  • MIGRATED: From deno.json import map to direct npm imports
  • ADDED: Branch management and file system tools
  • IMPROVED: Error handling and validation throughout
  • ADDED: CLI tool exclusion support for remote deployment

🔒 Security Enhancements

  • FIXED: Removed API token logging to prevent credential exposure
  • ADDED: Proper JSON parsing error handling with standard JSON-RPC error codes
  • FIXED: Sanitized error responses to prevent information leakage
  • IMPROVED: Input validation for malformed requests

🛠️ Technical Improvements

  • IMPROVED: Native Response handling for better compatibility
  • FIXED: Proper route handling to prevent 405 errors
  • ENHANCED: Configuration system for remote/local modes
  • COMPREHENSIVE: Tool registration with environment-specific features

🎯 Connection Methods

Online (Recommended) - No Local Installation Required!

{
  "mcpServers": {
    "valtown": {
      "type": "streamable-http", 
      "url": "https://prashamtrivedi-valtown-mcp-server.val.run/mcp",
      "headers": {
        "x-val-town-token": "YOUR_VAL_TOWN_TOKEN_HERE"
      }
    }
  }
}

Local Installation

Still fully supported via pre-built binaries or Deno for users who prefer local deployment.

📦 Downloads

🔧 Requirements

  • ValTown API token (get yours at val.town/settings)
  • For local installation: Deno 2.x (optional, binaries are self-contained)

🚀 Getting Started

  1. Online: Simply configure your MCP client with the hosted endpoint above
  2. Local: Download the appropriate binary for your platform and configure with your API token

📖 Documentation


What's Next? This release establishes the foundation for cloud-native MCP deployment. Future versions will focus on performance optimizations and additional ValTown platform integrations.

Need Help? Check out our documentation or open an issue for support.