mcp-servicenow
Version:
ServiceNow MCP server for Claude AI integration
78 lines (70 loc) • 1.65 kB
text/typescript
export type ServiceCatalogParams = {
catalog_item?: string;
requested_for?: string;
short_description?: string;
description?: string;
urgency?: string;
priority?: string;
variables?: Record<string, any>;
};
export type ServiceCatalogResult = {
success: boolean;
request_number?: string;
sys_id?: string;
created_on?: string;
state?: string;
message?: string;
};
export type GetCatalogItemsParams = {
category?: string;
search?: string;
active?: boolean;
limit?: number;
};
export type CatalogItem = {
sys_id: string;
name: string;
short_description: string;
description: string;
category: any;
price: string;
recurring_price: string;
active: boolean;
variables?: CatalogVariable[];
};
export type CatalogVariable = {
name: string;
label: string;
type: string;
mandatory: boolean;
default_value?: string;
choice_list?: string[];
};
export type GetCatalogItemsResult = {
success: boolean;
items?: CatalogItem[];
message?: string;
};
export type GetRequestsParams = {
requested_for?: string;
state?: string;
created_since?: string;
limit?: number;
};
export type ServiceRequest = {
number: string;
sys_id: string;
short_description: string;
description: string;
state: string;
requested_for: any;
requested_by: any;
sys_created_on: string;
catalog_item: any;
approval_status: string;
};
export type GetRequestsResult = {
success: boolean;
requests?: ServiceRequest[];
message?: string;
};