Skip to main content
Glama
iMateo

fastpanel-mcp

site_create

Create a new website in FastPanel with optional owner, database, and FTP accounts. Use dry_run to validate before executing.

Instructions

Create a new website in FastPanel using the /api/master wizard endpoint. Can create owner/database/FTP inline atomically. Does NOT issue SSL — call certificate_create_letsencrypt after site is active. WRITE operation — set dry_run:true first, then confirm:true to execute. Flow: (1) POST /api/master/domain probes for existing email/DNS zones, (2) PUT /api/master creates the site with everything.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipsYesServer IPs to bind to, e.g. ['100.42.181.157']. Get from sites_list → ips field.
domainYesPrimary domain, e.g. 'example.com' or 'sub.example.com'
aliasesNoAdditional domain aliases, e.g. ['www.example.com']
confirmNo
dry_runNo
handlerNoPHP handler: php_fpm is faster, fcgi simpler. Use site_get on existing sites to see what this project prefers.fcgi
databaseNoOptionally create a new database linked to this site. Omit to skip DB creation.
owner_idNoExisting FastPanel user id (from users_list). Use this OR new_owner, not both.
new_ownerNoCreate a new user inline. Use this OR owner_id, not both. EXPERIMENTAL — not yet tested against live API.
ftp_accountNoOptionally create an FTP account. Omit to skip.
php_versionYesPHP version without dot: 74=7.4, 80=8.0, 82=8.2, 83=8.3, 84=8.4
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Description goes beyond annotations by detailing the two-step API flow (probe then create), marking new_owner as experimental and untested, and explicitly calling out the WRITE nature with dry_run recommendation. No contradiction with annotations (readOnlyHint=false supports write).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two well-organized paragraphs: first introduces purpose and key constraints (SSL, atomic creation), second explains the flow and parameter relationships. Every sentence adds essential information with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 11 parameters, nested objects, no output schema, and moderate complexity, the description comprehensively covers purpose, usage flow, parameter relationships, behavioral notes, and cross-references to sibling tools. It leaves no major gaps for an agent to misinterpret.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite high schema coverage (82%), the description adds significant value: for ips, it tells where to get values; for handler, explains differences and recommends checking existing sites; for owner fields, clarifies mutual exclusivity; for database, notes optionality; for domain, gives examples. This enriches understanding beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Create', the resource 'new website in FastPanel', and specifies the endpoint '/api/master wizard'. It distinguishes from siblings like site_update and certificate_create_letsencrypt by noting that SSL is not issued and must be done separately.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly provides when-to-use and when-not: 'Does NOT issue SSL — call certificate_create_letsencrypt after site is active.' It also gives a clear two-step flow with dry_run then confirm, and advises using site_get to determine preferred handler. Mutual exclusivity of owner_id and new_owner is explained.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iMateo/fastpanel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server