To host a website made with GitHub Copilot means putting the files Copilot wrote for you in VS Code, Copilot CLI or the Copilot cloud agent on a server, so anyone can open them at a stable HTTPS address. Our test site was 3 files and 477 bytes as a tarball, and one curl returned its live URL in under 2 seconds.
Copilot writes code; it does not host it. This guide shows what kind of Copilot project a static host can serve, how to publish one with a single command, and how to let Copilot publish through MCP. Every deed.page command here was run against production on December 6, 2026, and the test sites were deleted afterwards.
How do I host a website made with GitHub Copilot?
The short answer: if the project has a build step, run it; then upload the folder of HTML, CSS and JavaScript to a static host. Or add a publishing MCP server so Copilot's agent does the upload and gives you the link.
The usual GitHub answer is GitHub Pages, and it is a good one if you want the site tied to a repository. It has rules worth knowing: on GitHub Free the repository must be public (creating a Pages site), each repository gets one Pages site, and Pages is not meant for running an online business or SaaS (Pages limits). If you want a link without a repository, a commit or a public repo, upload the files directly.
Check what kind of project you have
A static host only serves files, so check first:
- Plain HTML, CSS and JavaScript, or a front end whose build script produces a
distorbuildfolder, can be served as-is. - An Express, Flask or Next.js server, or code that reads secrets on the server, needs a host that runs code.
- A single-page app with client routes works if unknown paths go to
index.html. On deed.page that isspa=1(SPA mode).
Publish it with one curl
Ask Copilot in agent mode to run this in the terminal, or paste it yourself. For a plain folder named site:
tar -C site -czf site.tar.gz . && curl -T site.tar.gz "https://deed.page/v1/sites?slug=habit-tracker-copilot-q3n8&ref=blog"
For one file, curl -T index.html "https://deed.page/v1/sites?slug=habit-tracker-copilot-q3n8&ref=blog" is enough. Our test was a habit tracker with index.html, style.css and app.js. The reply had "url": "https://habit-tracker-copilot-q3n8.deed.page/", "version": "v1", "files": 3, "expires_at": null and a deed_tok_… owner token shown once. The CSS was served as text/css and the script as text/javascript. Pick your own suffix; that slug is only an example. A second request for the same slug without the token got slug_taken with the suggestion habit-tracker-copilot-q3n8-2 (choosing a slug).
To ship a new version, send the token:
curl -T site.tar.gz -H "Authorization: Bearer $DEEDPAGE_TOKEN" \
"https://deed.page/v1/sites?slug=habit-tracker-copilot-q3n8&ref=blog"
The same tarball again returned "unchanged": true; a changed stylesheet returned "version": "v2" at the same URL.
If you use the Copilot cloud agent on GitHub, its internet access goes through a firewall that blocks hosts outside its allowlist by default (firewall docs), so add deed.page there before asking it to run the curl.
Let Copilot publish through MCP
In VS Code, Copilot reads MCP servers from a workspace-root .mcp.json or from ~/.copilot/mcp-config.json, which Copilot CLI shares (MCP configuration reference). Both use a top-level mcpServers object:
{"mcpServers":{"deed-page":{"type":"http","url":"https://deed.page/mcp","tools":["*"]}}}
The Copilot cloud agent takes the same shape in the repository's Settings → Copilot → MCP servers page, where type and tools are required (repository MCP setup). GitHub warns that the cloud agent uses configured tools without asking, so list only the tools you want, such as ["publish_site","update_site","get_site"].
Publishing needs no sign-in. When Copilot calls the tool, the request looks like this:
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"publish_site","arguments":{"slug":"habit-tracker-copilot-mcp-q3n8","files":{"index.html":"<!doctype html><title>Habit tracker</title><h1>Habit tracker, built with GitHub Copilot</h1>"}}}}
It returned ok: true, version: "v1", the subdomain URL and a token. update_site with that token gave v2; without it the server answered unauthorized. The MCP walkthrough covers the other tools, and the deed.page skill teaches an agent the curl route instead.
FAQ
Can I host a GitHub Copilot website for free?
Yes, if it builds to static files. GitHub Pages is free for public repositories, and deed.page's Free plan is $0 for 25 sites of 25 MB each with no signup; Hobby at $2.99 a month raises the limits and removes the small "Published with deed.page" badge (pricing).
Does my code have to be on GitHub?
Not for deed.page. The upload is the files themselves, so the project can stay in a private repo or no repo at all.
Will the site expire?
No. deed.page sites stay up until you delete them, unless you send X-Ttl for a throwaway page (TTLs).