Create Tenant
Create a tenant for an agent's MCP Server.
POST /mcpservers/{mcpserver_id}/tenants
Path Parameters
Section titled “Path Parameters”mcpserver_id string
Required
The ID of the MCP Server to create a tenant for.
Body Parameters
Section titled “Body Parameters”tenant object
Required
Key value pair where key is the tenant identifier key which maps to a user profile on the OAuth server and the value is the database scope for the tenant.
Request
import Inconvo from "@inconvoai/node";
const inconvo = new Inconvo({ apiKey: process.env.INCONVO_API_KEY});
const tenant = await client.mcpServers.tenants.create( "mcp_123", { tenant: { "try@inconvo.com": { organisationId: 1 } }, });console.log(tenant)
{ "try@inconvo.com": { "organisationId": 1 } }