Cursor Setup for LiquidMetal
Setup Cursor editor to correctly generate LiquidMetal code based on your prompt.
Cursor 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 Cursor:
Quick Use
In chat window type this and Cursor will use LiquidMetal’s liquidmetal.txt file to generate code:
@web https://docs.liquidmetal.ai/liquidmetal.txtPermanent Setup
- Press
⌘ CMD + ⇧ Shift + P. Or if it’s Windows, press⌃ Ctrl + ⇧ Shift + P. - Type
Add new custom docs - Add this:
https://docs.liquidmetal.ai/liquidmetal.txt
- Now in chat window you can type
@docsand chooseLiquidMetalto provide LiquidMetal docs to Cursor.
Project-Level Permanent Setup
You can setup LiquidMetal’s liquidmetal.txt file to your repo so Cursor can use it by default. This approach ensures that anyone working on your project gets the LiquidMetal context automatically.
Run this command in your project root to save the liquidmetal.txt file to .cursor/rules/liquidmetal.mdc:
curl -L https://docs.liquidmetal.ai/liquidmetal.txt --create-dirs -o .cursor/rules/liquidmetal.mdcMCP Server
MCP (Model Context Protocol) is an API to communicate with AI models. You can add MCP servers and Cursor will communicate with them to get more accurate results.
We recommend using our official LiquidMetal MCP server which provides comprehensive LiquidMetal platform knowledge.
- Go to Cursor settings
⌘ CMD + ⇧ Shift + J(or⌃ Ctrl + ⇧ Shift + Jon Windows) - Click
MCPfrom the left sidebar - Click
Add new global MCP server - Add the following:
{ "mcpServers": { "LiquidMetal": { "type": "stdio", "command": "npx", "args": ["-y", "@liquidmetal/mcp-server@latest"] } }}- Now in
Agent Modeyou can ask AI anything about LiquidMetal, and writeuse liquidmetalat the end of your prompt.
For example:
create a raindrop application that processes uploaded documents and stores results in a database. use liquidmetalGetting Help
Do you have a question? Ask on our GitHub Discussions or Discord server.
Do you like LiquidMetal? Star us on GitHub!