Servidor MCPHerramientas disponibles
Leer organización
Lee el perfil, la configuración fiscal y la disponibilidad de la organización activa.
Herramienta MCP
get_organizationPropósito
Lee el perfil, la configuración fiscal y la disponibilidad de la organización activa.
- Usar cuando
- Necesitas contexto de la organización antes de otra operación.
- No usar cuando
- Necesitas cambiar la configuración de la organización.
- Permisos requeridos
- Efectos secundarios
- Ninguno
- Idempotencia
- Idempotente
Esquema de entrada
JSON Schema{ "type": "object", "properties": {}, "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false}Esquema de salida
JSON Schema{ "type": "object", "properties": { "data": { "type": "object", "properties": { "name": { "type": "string" }, "timeZone": { "type": "string" }, "fiscal": { "type": "object", "properties": { "legalName": { "$ref": "#/definitions/__schema0" }, "rfc": { "$ref": "#/definitions/__schema0" }, "taxSystem": { "$ref": "#/definitions/__schema0" }, "rfcPersonType": { "$ref": "#/definitions/__schema0" }, "usesBorderRegionStimulus": { "type": "boolean" }, "website": { "$ref": "#/definitions/__schema0" }, "phone": { "$ref": "#/definitions/__schema0" }, "address": { "type": "object", "properties": { "street": { "$ref": "#/definitions/__schema0" }, "city": { "$ref": "#/definitions/__schema0" }, "state": { "$ref": "#/definitions/__schema0" }, "exterior": { "$ref": "#/definitions/__schema0" }, "interior": { "$ref": "#/definitions/__schema0" }, "neighborhood": { "$ref": "#/definitions/__schema0" }, "municipality": { "$ref": "#/definitions/__schema0" }, "postalCode": { "type": "string" } }, "required": [ "postalCode" ], "additionalProperties": false } }, "additionalProperties": false }, "readiness": { "type": "object", "properties": { "production": { "type": "boolean" }, "csd": { "type": "boolean" }, "fiel": { "type": "boolean" } }, "required": [ "production", "csd", "fiel" ], "additionalProperties": false }, "certificates": { "type": "object", "properties": { "csd": { "type": "object", "properties": { "configured": { "type": "boolean" }, "expiresAt": { "$ref": "#/definitions/__schema0" }, "serialNumber": { "$ref": "#/definitions/__schema0" } }, "required": [ "configured" ], "additionalProperties": false }, "fiel": { "type": "object", "properties": { "configured": { "type": "boolean" }, "expiresAt": { "$ref": "#/definitions/__schema0" } }, "required": [ "configured" ], "additionalProperties": false } }, "required": [ "csd", "fiel" ], "additionalProperties": false }, "globalInvoice": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "periodicity": { "$ref": "#/definitions/__schema0" }, "eligibilityStartAt": { "allOf": [ { "$ref": "#/definitions/__schema1" } ] }, "lastRunAt": { "allOf": [ { "$ref": "#/definitions/__schema1" } ] } }, "required": [ "enabled" ], "additionalProperties": false }, "automation": { "type": "object", "properties": { "cfdiSyncEnabled": { "type": "boolean" }, "declarationSyncEnabled": { "type": "boolean" } }, "required": [ "cfdiSyncEnabled", "declarationSyncEnabled" ], "additionalProperties": false }, "portal": { "type": "object", "properties": { "allowedCfdiUses": { "type": "array", "items": { "type": "string" } }, "receiptExpirationDays": { "type": "number" }, "receiptLocationRequired": { "type": "boolean" } }, "required": [ "receiptLocationRequired" ], "additionalProperties": false } }, "required": [ "name", "timeZone", "fiscal", "readiness", "certificates", "globalInvoice", "automation", "portal" ], "additionalProperties": false }, "error": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "code": { "type": "string", "enum": [ "validation_error", "unauthenticated", "forbidden", "not_found", "method_not_allowed", "conflict", "idempotency_conflict", "operation_in_progress", "recovery_required", "rate_limited", "provider_unavailable", "internal" ] }, "message": { "type": "string" }, "details": { "type": "object", "properties": { "issues": { "type": "array", "items": { "type": "object", "properties": { "path": { "type": "array", "items": { "anyOf": [ { "type": "string" }, { "type": "number" } ] } }, "message": { "type": "string" }, "code": { "type": "string" } }, "required": [ "path", "message" ], "additionalProperties": false } }, "retryable": { "type": "boolean" }, "retryAfterSeconds": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 } }, "additionalProperties": false } }, "required": [ "code", "message" ], "additionalProperties": false } }, "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "definitions": { "__schema0": { "type": "string" }, "__schema1": { "type": "string", "format": "date-time" } }, "oneOf": [ { "required": [ "data" ] }, { "required": [ "error" ] } ]}