Garden Design MCP Server
Let your AI assistant design a garden on your real plot. This MCP (Model Context Protocol) server connects Claude Code, Claude Desktop, Cursor or any other MCP client to the Zaprojektuj-Ogrod.pl Garden Editor, a browser app for garden and landscape design in 2D and 3D. You watch every change appear in the editor as the assistant makes it, then walk through the finished garden in 3D.
Step-by-step setup guide: in English · po polsku
What the assistant can do
- Find the plot anywhere in the world, on OpenStreetMap or a satellite photo. In Poland it imports the exact parcel boundary and the buildings from the land registry (Geoportal, ULDK).
- Read your photos and floor plan to put the doors, windows and views on the right walls of the house.
- Draw what is already there: fences, paving, the driveway, a heat pump on the wall. Nothing that exists is moved without asking.
- Lay out zones for your wishes at practical sizes (a terrace for six, a path, raised beds, a bench corner), and say so when a wish does not fit instead of shrinking it quietly.
- Choose plants from a catalog of 2,000+ by sun, soil, hardiness and size, and place them at their mature spread. Surfaces, furniture, raised beds and planters come from the same catalog.
- Check its own work: planting density per bed, previews of the plan, 2D and 3D views. It saves the design to your account.
It works one step at a time and stops for your sign-off: the site first, then the zones, then the planting.
Quick start
1. Add the server to your AI client. No install is needed: npx downloads and runs it.
Claude Code (~/.claude.json):
{
"mcpServers": {
"garden-editor": {
"command": "npx",
"args": ["@zaprojektujogrod/mcp-server"]
}
}
}
Claude Desktop (Settings → Developer → MCP Servers):
{
"garden-editor": {
"command": "npx",
"args": ["@zaprojektujogrod/mcp-server"]
}
}
2. Open a garden in the Garden Editor at zaprojektuj-ogrod.pl and switch the MCP connection on in Settings › AI assistant. The editor connects to the server on your computer.
3. Ask your assistant, for example: "Help me design my garden, step by step." Or start from the server's start_design prompt.
Effort. Medium effort is enough. In our tests Claude Opus 5.5 designed as well at medium effort as at high, for about a quarter less. Effort is your client's setting, so the server can't set it. In Claude Code, start with claude --effort medium.
How it works
┌─────────────────┐ stdio ┌──────────────────┐ WebSocket ┌──────────────────┐
│ AI client │ ◄────────────► │ MCP server │ ◄──────────────► │ Garden Editor │
│ (Claude, etc.) │ │ (this package) │ localhost:3333 │ (your browser) │
└─────────────────┘ └──────────────────┘ └──────────────────┘
The server runs on your computer and talks to the editor open in your browser over a local WebSocket (ws://localhost:3333). Your garden stays in your account; the assistant runs in your own AI client, on your own subscription or API key.
Setup from source
If you prefer to run from source instead of npx:
git clone https://github.com/zaprojektuj-ogrod/garden-design-mcp.git
cd garden-design-mcp
npm install
npm run build
Then configure your AI client with a direct path:
{
"mcpServers": {
"garden-editor": {
"command": "node",
"args": ["/path/to/garden-design-mcp/dist/index.js"]
}
}
}
Available tools (56)
Tools follow the design funnel: Site → Context → Zones → Detailing → Review. Tools that create or change things take a list (add_objects, update_objects, delete_objects, add_pins, add_zones), one item or many. Call get_design_guide once at the start: it holds the whole workflow, the photo method and the planting rules.
Replies are compact JSON, with numbers rounded and fields the assistant never uses left out, because every reply is re-read on each later turn. A batch answers with ids in input order (null where one failed) and issues for failures and warnings.
Another 17 tools still answer when called but aren't listed, since every listed tool's definition rides along with each request:
- the one-item twins of the batch tools:
add_object, add_zone, add_pin, update_object, delete_object;
undo, redo, clear_all, export_state, import_state;
set_units, get_view_mode, get_layer_visibility, get_coordinate_system, get_zone_types;
connection_status, get_version.
Phase 1: Site
| Tool |
Description |
geocode_address |
Find a place anywhere in the world from an address |
set_geo_anchor |
Place the garden on the map at real-world coordinates |
get_geo_anchor |
Get the garden's place |
set_map_background |
Show or hide a map under the garden: OpenStreetMap, the satellite photo (Poland) or a laid survey map |
set_boundary |
Give the plot boundary as a polygon in metres (from measurements or traced from the map) |
get_parcel_by_coordinates |
Land registry parcel by WGS84 lat/lon (Poland) |
get_parcel_by_id |
Land registry parcel by parcel ID (Poland) |
get_parcel_by_address |
Address (town, street, number, or one text) → land registry parcel (Poland); several spellings are tried, a plot found only by the map finder is marked approximate |
import_parcel |
Import a parcel as the garden boundary, with the cadastral map behind it (Poland) |
import_buildings |
Import the buildings on and around the parcel from the land registry (Poland) |
get_site_analysis |
House facades by compass side, party walls and the garden depth on each side; the site's main directions for zone edges (axes), whether the garden is large (largeGarden, 400 m² or more), the garden no zone covers yet (blank), and the trees with their trunk and crown |
upload_reference_photo |
Upload a reference photo (kept for the session) |
get_reference_photos |
Get the uploaded reference photos |
attach_image |
Hand the editor a picture from a file on the designer's computer (a survey map, a site plan, a drawing): kept as an attached image for zoom_image and set_survey_map — pictures pasted into the MCP client's chat never reach the editor |
zoom_image |
A close-up of an image attached in the editor's chat or handed over with attach_image, for reading details |
set_survey_map |
Lay a survey map or site plan to scale under the garden, from two matched points or two points and a distance |
map_to_garden |
Turn points on the laid survey map into garden coordinates in metres |
Phase 2: Context
| Tool |
Description |
add_pins |
Add context pins (door, window, gate, view), one or many |
delete_pin |
Delete a pin by ID |
get_pins |
Get all pins |
get_garden_info |
Get garden metadata (name, rotation, boundary, stats) |
set_garden_rotation |
Set north orientation in degrees |
get_journal |
Read the assistant's design journal: its working memory of the garden between sessions, kept with the garden and never shown to the owner |
write_journal |
Write the journal whole, or with section one heading's section without resending the rest |
set_garden_description |
Write the garden's description when the owner asks for it or agrees: the design as it stands now, in Markdown, shown with the garden on the website |
capture_preview |
Capture a top-down view as an image the assistant sees inline: 800 px by default; hideZones: true hides zones and pins for that picture |
Phase 3: Zones
| Tool |
Description |
add_zones |
Add zones (polygon or path in metres), one or many; each answers with area, narrowest width and overlaps |
update_zone |
Update zone properties |
delete_zone |
Delete a zone by ID |
get_zones |
Get all zones |
get_objects_in_zone |
List objects whose centers fall inside a zone |
get_zone_analysis |
Density and cover of a zone: planting cover counted once where plants and shapes overlap, the cover of each height layer (ground, shrub, tree), objects by category |
Phase 4: Detailing