Skip to content

hosainnet/deno-subhosting-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deno-subhosting-mcp

A Model Context Protocol (MCP) server that provisions one-off deployments on Deno Deploy. The server exposes a single tool, create_deployment, which spins up a new Deploy project, uploads the supplied code, and returns the public URL.

Prerequisites

  1. If you don't have one already, create a Deno subhosting organisation
  2. Install Deno

Installation

git clone git@github.com:hosainnet/deno-subhosting-mcp.git

MCP client config

{
  "mcpServers": {
    "deno-subhosting": {
      "command": "deno",
      "args": ["run", "--allow-net", "--allow-env", "path_to_main.ts"],
      "env": {
        "DEPLOY_ORG_ID": "your_deno_deploy_org_id_here",
        "DEPLOY_ACCESS_TOKEN": "your_deno_deploy_access_token_here"
      }
    }
  }
}

For example, to add this to Claude Desktop:

  1. Open Claude Desktop settings
  2. Go to the "Developer" tab
  3. Edit the MCP servers configuration
  4. Add the above configuration to your existing config
  5. Replace your_deno_deploy_access_token_here and your_deno_deploy_org_id_here with your actual Deno Deploy credentials (instructions below)
  6. Replace path_to_main.ts to where you cloned the repo locally

To get your Deno Deploy credentials:

  • Org ID: Go to your subhosting organisation and copy your organisation ID
  • Access Token: Create one from your organisation Settings page (https://dash.deno.com/subhosting/org-id/settings)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors