@chathost/mcp-uat 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -0
- package/index.js +31 -0
- package/package.json +15 -0
- package/server.json +10 -0
package/README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# chathost.io — Agentic-First Web Hosting
|
|
2
|
+
|
|
3
|
+
> **Build a website with AI. Deploy it with one sentence.**
|
|
4
|
+
|
|
5
|
+
chathost.io is web hosting and internet infrastructure built for the age of AI agents. No git. No CLI knowledge. No hosting expertise. Just tell your AI agent _"deploy my website"_ and get a live URL in minutes.
|
|
6
|
+
|
|
7
|
+
We believe the future of the internet is built by people who have never opened a terminal — powered by AI agents that handle the complexity for them.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Get Started
|
|
12
|
+
|
|
13
|
+
Install the `chathost` CLI tool with a single command:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
curl -fsSL https://chathost.io/download/install.sh | bash
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Then restart your terminal (or run `source ~/.bashrc`) and say **"deploy my website"** to your AI agent.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## How it works
|
|
24
|
+
|
|
25
|
+
1. Run the install script above — it downloads the `chathost` binary to `~/.chathost/bin/` and adds it to your PATH
|
|
26
|
+
2. Ask your agent to create a website — or point it at one you've already built
|
|
27
|
+
3. Say _"deploy it to chathost"_
|
|
28
|
+
4. Your agent runs `chathost` commands to build a Docker image, push it, and return a live URL
|
|
29
|
+
|
|
30
|
+
That's it. Your site is on the internet.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## CLI Commands
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
chathost account whoami # Show account info
|
|
38
|
+
chathost account login # Sign in via browser
|
|
39
|
+
chathost account logout # Remove saved credentials
|
|
40
|
+
|
|
41
|
+
chathost projects init --name <name> # Create project
|
|
42
|
+
chathost projects this # Show current project
|
|
43
|
+
chathost projects list # List all projects
|
|
44
|
+
chathost projects delete --project-id <id> # Delete a project
|
|
45
|
+
|
|
46
|
+
chathost deployments deploy --dockerfile <path> [--slot <slot>] # Build + deploy
|
|
47
|
+
chathost deployments list # List all deployments
|
|
48
|
+
chathost deployments status --deployment-id <id> # Status of one
|
|
49
|
+
chathost deployments delete --deployment-id <id> # Delete one
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Early Adopters
|
|
55
|
+
|
|
56
|
+
We're in **early access** right now. We're looking for people who are building with AI agents and want the simplest path from idea to live website.
|
|
57
|
+
|
|
58
|
+
**Get in touch:** [contact@chathost.io](mailto:contact@chathost.io)
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Contributing
|
|
63
|
+
|
|
64
|
+
This repository is a read-only mirror of the primary repository. It is kept in sync automatically on each release.
|
|
65
|
+
|
|
66
|
+
Pull requests are welcome — once reviewed, accepted changes will be applied to the primary repo and mirrored back.
|
|
67
|
+
|
|
68
|
+
## License
|
|
69
|
+
|
|
70
|
+
MIT
|
package/index.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
const { spawn } = require("child_process");
|
|
3
|
+
const path = require("path");
|
|
4
|
+
|
|
5
|
+
const PLATFORMS = {
|
|
6
|
+
"linux-x64": { pkg: "@chathost/mcp-linux-x64", bin: "chathost-mcp" },
|
|
7
|
+
"darwin-arm64": { pkg: "@chathost/mcp-darwin-arm64", bin: "chathost-mcp" },
|
|
8
|
+
"darwin-x64": { pkg: "@chathost/mcp-darwin-x64", bin: "chathost-mcp" },
|
|
9
|
+
"win32-x64": { pkg: "@chathost/mcp-win-x64", bin: "chathost-mcp.exe" },
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const key = `${process.platform}-${process.arch}`;
|
|
13
|
+
const platform = PLATFORMS[key];
|
|
14
|
+
if (!platform) {
|
|
15
|
+
console.error(`Unsupported platform: ${key}`);
|
|
16
|
+
process.exit(1);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
let binPath;
|
|
20
|
+
try {
|
|
21
|
+
binPath = path.join(require.resolve(`${platform.pkg}/package.json`), "..", "bin", platform.bin);
|
|
22
|
+
} catch {
|
|
23
|
+
console.error(`Platform package ${platform.pkg} is not installed. Run: npm install ${platform.pkg}`);
|
|
24
|
+
process.exit(1);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const child = spawn(binPath, process.argv.slice(2), {
|
|
28
|
+
stdio: "inherit",
|
|
29
|
+
env: process.env,
|
|
30
|
+
});
|
|
31
|
+
child.on("exit", (code) => process.exit(code ?? 1));
|
package/package.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@chathost/mcp-uat",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "chathost.io MCP server - deploy websites from your AI agent",
|
|
5
|
+
"bin": { "chathost-mcp": "index.js" },
|
|
6
|
+
"optionalDependencies": {
|
|
7
|
+
"@chathost/mcp-linux-x64": "1.0.3",
|
|
8
|
+
"@chathost/mcp-darwin-arm64": "1.0.3",
|
|
9
|
+
"@chathost/mcp-darwin-x64": "1.0.3",
|
|
10
|
+
"@chathost/mcp-win-x64": "1.0.3"
|
|
11
|
+
},
|
|
12
|
+
"files": ["index.js", "README.md", "server.json"],
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"repository": { "type": "git", "url": "https://github.com/chathost/mcp" }
|
|
15
|
+
}
|
package/server.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "chathost",
|
|
3
|
+
"description": "Deploy websites from your AI agent. Build Docker apps and deploy them to chathost.io with a single command.",
|
|
4
|
+
"repository": "https://github.com/chathost/mcp",
|
|
5
|
+
"homepage": "https://chathost.io",
|
|
6
|
+
"npm": "@chathost/mcp",
|
|
7
|
+
"runtime": "node",
|
|
8
|
+
"command": "npx",
|
|
9
|
+
"args": ["-y", "@chathost/mcp"]
|
|
10
|
+
}
|