Skip to content

VS Code Setup for LiquidMetal

Setup VS Code to correctly generate LiquidMetal code based on your prompt.

VS Code and Copilot LLM Setup

The docs.liquidmetal.ai/liquidmetal.txt file is a compact, text version of LiquidMetal manifest documentation to help AI generate accurate LiquidMetal code based on your prompt.

Here’s how to use LiquidMetal’s liquidmetal.txt in VS Code:

Quick Use

In chat window type this and VS Code will use LiquidMetal’s liquidmetal.txt file to generate code:

#fetch https://docs.liquidmetal.ai/liquidmetal.txt

Project-Level Permanent Setup

You can setup LiquidMetal’s liquidmetal.txt file to your repo so Copilot can use it by default.

  1. Run this command to save the liquidmetal.txt file to .vscode/liquidmetal.md:
Terminal window
curl -L https://docs.liquidmetal.ai/liquidmetal.txt --create-dirs -o .vscode/liquidmetal.md
  1. In .vscode/settings.json add this:
{
"github.copilot.chat.codeGeneration.instructions": [
{
"file": "./.vscode/liquidmetal.md"
}
]
}

MCP Server

MCP is an API to communicate with AI models. You can add MCP servers and Copilot will communicate with them to get more accurate results.

We recommend using our official LiquidMetal MCP server which provides comprehensive LiquidMetal platform knowledge.

  1. Go to MCP settings in VS Code: vscode://settings/mcp
  2. Click Edit in settings.json
  3. Add the following:
{
"mcp": {
"servers": {
"LiquidMetal": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@liquidmetal/mcp-server@latest"]
}
}
}
}
  1. Now in Agent Mode you can ask AI anything about LiquidMetal, and write use liquidmetal at the end of your prompt.

    For example:

    create a raindrop application that processes uploaded documents and stores results in a database. use liquidmetal

Getting Help

Do you have a question? Ask on our GitHub Discussions or Discord server.

Do you like LiquidMetal? Star us on GitHub!