Structured extraction
Send text, or text with an image, and a JSON schema. The answer is forced through the schema, so the model cannot reply in prose and you get data your code can parse.
Send text and a schema, and get back data that matches it. Give an AI assistant a key that reaches one app and nothing else.
Growth and above. Extraction requests per month: 1,000 on Growth, 10,000 on Scale, unlimited on Enterprise. MCP calls per month: 10,000, 100,000, unlimited.
Send text, or text with an image, and a JSON schema. The answer is forced through the schema, so the model cannot reply in prose and you get data your code can parse.
Use a schema from the catalog, or send your own with the request.
Use the platform’s AI by default, or choose a provider and model and bring your own API key. The key is encrypted at rest and can never be read back.
If AI is not set up, or the plan or monthly allowance stops a call, you get a specific error to catch, not a crash.
Create a key for one application with the mcp.connect scope and paste it into Claude Code, Claude Desktop, ChatGPT, or any MCP client. The assistant can only see and change what that key allows.
The TenancyEngine MCP server has tools to create applications, workspaces, API keys, webhooks, and custom domains, and to read usage, so an assistant can set up your app for you.
These calls come from the TenancyEngine.Sdk package on NuGet. Every capability is also a REST API, so any language that can make an HTTPS request can use it.
const string schema = """
{ "type": "object",
"properties": { "customer": { "type": "string" }, "total": { "type": "number" } },
"required": ["customer", "total"] }
""";
try
{
var result = await te.ExtractAsync(applicationId, noteText, schema: schema, ct: ct);
var json = result.Data; // JSON text that matches the schema
}
catch (TenancyEnginePlanRequiredException)
{
// The plan does not include extraction, or this month's allowance is used up.
}
catch (TenancyEngineNotConfiguredException)
{
// AI is not set up for this app yet. Show a friendly message.
}# The console shows this command, filled in, when you create a connector key.
claude mcp add --transport http my-app <gateway-url> \
--header "Authorization: Bearer <connector-key>"A connector key is tied to one application and carries only the scopes you grant. The assistant can do what those scopes and your app’s tools allow, and nothing else.
Choose a vendor and model on the AI provider page, or point to a self-hosted endpoint that speaks the OpenAI format over HTTPS.
The extraction call returns a specific “not configured” error and does not use any of your allowance.
One app and up to five customer workspaces. Upgrade when you need more.
Request access