Provisioning MCP Server
How this fits: these are the tools behind agentic onboarding and the setup skills. Connect to it with an API key, or let the NxisAI CLI serve the same tools under your sign-in.
Your site's MCP server lets agents query a site. The provisioning server lets an agent set one up — create it, verify ownership, ingest its pages, generate structured data, and turn the site's own MCP server on.
It is the surface behind agentic onboarding, and it is available to any agent holding an API key for your organization.
Why it is a separate server
A site's MCP endpoint is addressed by its domain: https://<your-domain>.mcp.nxis.ai/mcp. The domain is what tells NxisAI which site you mean.
That works for every tool except the first one. An agent asked to create your first site has no site, so no domain, so nothing to connect to. The provisioning server resolves your organization from the API key instead of from the hostname, which is what lets it act before any site exists.
| Site MCP server | Provisioning MCP server | |
|---|---|---|
| Endpoint | https://<your-domain>.mcp.nxis.ai/mcp | https://mcp.nxis.ai/v1/organizations/<org-id>/mcp |
| Scope | One site | One organization |
| Identifies the tenant by | The hostname | The API key |
| Authentication | API key, OAuth 2.1, or public | API key only |
| Purpose | Query and act on a site's data | Create and configure sites |
Authentication
The provisioning server accepts API keys only. There is no public access and no OAuth Dynamic Client Registration — both exist on the site surface so that unattended agents can discover and read a site, and neither is appropriate for a surface that can create sites and change an organization's settings.
Send your key as the nxis-api-key header, and use an MCP key (the same kind the API Keys page issues).
The organization id in the path is what the caller is asking for; the key is what they are entitled to. If they disagree the request is rejected with PERMISSION_DENIED rather than quietly preferring one.
If you see that error, the connection is almost always pointed at a different organization than the key belongs to — check the id in the URL against the organization the key was generated in.
A key that carries no organization is refused rather than defaulted. This is the case for keys issued outside an organization, and it fails closed on purpose: guessing a tenant here would mean acting on the wrong one.
Tools
| Tool | Purpose |
|---|---|
nxis_create_site | Create a site from its root URL. |
nxis_verify_site | token returns the verification META tag; check verifies it once deployed. |
nxis_crawl_sitemap | submit queues a sitemap crawl; status reports its progress. |
nxis_bulk_autofill | plan counts resources and reports your credit balance; submit starts generation; status polls it. |
nxis_publish_entities | Publish generated drafts so the site actually serves them. |
nxis_enable_public_mcp | Turn on the site's own MCP server. |
nxis_bind_mcp_action | Expose a site action (quote, booking, signup) as an MCP tool. |
nxis_aio_files | Return the generated llms.txt, agents.md, and catalog documents for the site. |
Every tool here takes a site argument, because the server is scoped to your organization rather than to one site — the exception is nxis_create_site, which is what produces the site id the others need.
A site-scoped MCP server deliberately does not expose site creation or MCP settings tools. If it did, a public site endpoint could modify its sibling sites in the same organization. The two tool sets are separate on purpose.
Connect an agent
Examples for Claude Code, Antigravity, Cursor, and Hermes Agent — including where each one keeps its config and skills — are in Agentic Onboarding. Two of the four are repeated here for reference.
Claude Code
claude mcp add --transport http nxis-provisioning \
https://mcp.nxis.ai/v1/organizations/<org-id>/mcp \
--header "nxis-api-key: <your-api-key>"
Or commit an .mcp.json at the root of the project you are onboarding, so the connection travels with the repository:
{
"mcpServers": {
"nxis-provisioning": {
"type": "http",
"url": "https://mcp.nxis.ai/v1/organizations/<org-id>/mcp",
"headers": {
"nxis-api-key": "<your-api-key>"
}
}
}
}
.mcp.json holds a live credential. Add it to .gitignore, or use your agent's user-level configuration instead, if the repository is shared.
Gemini CLI
In ~/.gemini/settings.json:
{
"mcpServers": {
"nxis-provisioning": {
"url": "https://mcp.nxis.ai/v1/organizations/<org-id>/mcp",
"headers": {
"nxis-api-key": "<your-api-key>"
}
}
}
}
Where the agent has to be running
The provisioning server can do everything except the one step that matters most: prove you own the site.
Verification needs a META tag on the live site, which means a file change and a deploy. That is why agentic onboarding expects an agent running in the project that builds your site — it can write the tag where your other meta tags live, and hand the deploy back to you. An agent running anywhere else can create the site and then go no further.
Ingestion is gated on verification, so this is not a step that can be skipped and revisited. A crawl or an autofill started before verification passes will report success and produce nothing.
Related
- Agentic Onboarding — the guided path that uses this server
- Agent Skills Library — the onboarding skill that drives these tools in order
- MCP for AI Agents — the per-site server agents use once a site is live
- API Keys — issuing the key an agent connects with