Examples

Static Site

Learn how to deploy a plain HTML/CSS/JS site with Ink MCP using a simple prompt.

Create an Ink account and connect MCP

Make sure you have an Ink account and have connected Ink MCP to your agent. There are two ways to connect:

  • OAuth — authenticate through a browser flow, no keys to manage
  • Token — create an API key at ml.ink/account/api-keys

See Quick Start for full setup instructions.

Verify the connection

Once the MCP server is connected, confirm your agent can reach it by asking it to check.

Prompt

Do you have Ink MCP connected?

Create a static site

Ask your agent to create a plain HTML/CSS/JS site. If you already have static files in the current directory, skip this step and go straight to deploying.

Prompt

Create a simple portfolio website with HTML, CSS, and vanilla JavaScript. Include an about page, projects section, and contact form.

Deploy with Ink

Tell your agent to deploy. The agent will create a git repository on Ink's internal git (or your connected GitHub), push the code, and call create_service to trigger a build.

Static sites use the static build pack — no build step, files are served directly via nginx.

Prompt

Deploy with Ink

Tool Call
(
  : 
)
Tool Call
(
  : ,
  : ,
  : 
)

Visit your website

Ink returns a live URL once the deployment completes. Visit it to see your site running in production.

Check logs and metrics (optional)

Ask your agent to pull build logs, runtime logs, or metrics for your deployed service.

Prompt

Check metrics and logs

Tool Call
(
  : "portfolio",
  : ,
  : 
)

That's it — your static site is deployed and live. From here you can add a custom domain or explore more examples.

On this page