@the_cfdude/productboard-mcp
Version:
Model Context Protocol server for Productboard REST API with dynamic tool loading
478 lines (477 loc) • 13.4 kB
TypeScript
export declare function setupCompaniesTools(): ({
name: string;
description: string;
inputSchema: {
type: string;
properties: {
name: {
type: string;
description: string;
};
domain: {
type: string;
description: string;
};
description: {
type: string;
description: string;
};
externalId: {
type: string;
description: string;
};
instance: {
type: string;
description: string;
};
workspaceId: {
type: string;
description: string;
};
limit?: undefined;
startWith?: undefined;
detail?: undefined;
includeSubData?: undefined;
featureId?: undefined;
hasNotes?: undefined;
term?: undefined;
id?: undefined;
body?: undefined;
companyId?: undefined;
companyCustomFieldId?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
limit: {
type: string;
description: string;
default: number;
minimum: number;
maximum: number;
};
startWith: {
type: string;
description: string;
default: number;
minimum: number;
};
detail: {
type: string;
description: string;
default: string;
enum: string[];
};
includeSubData: {
type: string;
description: string;
default: boolean;
};
featureId: {
type: string;
description: string;
};
hasNotes: {
type: string;
description: string;
};
term: {
type: string;
description: string;
};
instance: {
type: string;
description: string;
};
workspaceId: {
type: string;
description: string;
};
name?: undefined;
domain?: undefined;
description?: undefined;
externalId?: undefined;
id?: undefined;
body?: undefined;
companyId?: undefined;
companyCustomFieldId?: undefined;
};
required?: undefined;
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
id: {
type: string;
description: string;
};
detail: {
type: string;
description: string;
default: string;
enum: string[];
};
includeSubData: {
type: string;
description: string;
default: boolean;
};
instance: {
type: string;
description: string;
};
workspaceId: {
type: string;
description: string;
};
name?: undefined;
domain?: undefined;
description?: undefined;
externalId?: undefined;
limit?: undefined;
startWith?: undefined;
featureId?: undefined;
hasNotes?: undefined;
term?: undefined;
body?: undefined;
companyId?: undefined;
companyCustomFieldId?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
id: {
type: string;
description: string;
};
body: {
type: string;
description: string;
properties: {
name: {
type: string;
description: string;
maxLength?: undefined;
};
domain: {
type: string;
description: string;
};
description: {
type: string;
description: string;
};
type?: undefined;
value?: undefined;
};
required?: undefined;
};
instance: {
type: string;
description: string;
};
workspaceId: {
type: string;
description: string;
};
name?: undefined;
domain?: undefined;
description?: undefined;
externalId?: undefined;
limit?: undefined;
startWith?: undefined;
detail?: undefined;
includeSubData?: undefined;
featureId?: undefined;
hasNotes?: undefined;
term?: undefined;
companyId?: undefined;
companyCustomFieldId?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
id: {
type: string;
description: string;
};
instance: {
type: string;
description: string;
};
workspaceId: {
type: string;
description: string;
};
name?: undefined;
domain?: undefined;
description?: undefined;
externalId?: undefined;
limit?: undefined;
startWith?: undefined;
detail?: undefined;
includeSubData?: undefined;
featureId?: undefined;
hasNotes?: undefined;
term?: undefined;
body?: undefined;
companyId?: undefined;
companyCustomFieldId?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
body: {
type: string;
description: string;
properties: {
name: {
type: string;
description: string;
maxLength: number;
};
type: {
type: string;
description: string;
enum: string[];
};
domain?: undefined;
description?: undefined;
value?: undefined;
};
required: string[];
};
instance: {
type: string;
description: string;
};
workspaceId: {
type: string;
description: string;
};
name?: undefined;
domain?: undefined;
description?: undefined;
externalId?: undefined;
limit?: undefined;
startWith?: undefined;
detail?: undefined;
includeSubData?: undefined;
featureId?: undefined;
hasNotes?: undefined;
term?: undefined;
id?: undefined;
companyId?: undefined;
companyCustomFieldId?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
instance: {
type: string;
description: string;
};
workspaceId: {
type: string;
description: string;
};
name?: undefined;
domain?: undefined;
description?: undefined;
externalId?: undefined;
limit?: undefined;
startWith?: undefined;
detail?: undefined;
includeSubData?: undefined;
featureId?: undefined;
hasNotes?: undefined;
term?: undefined;
id?: undefined;
body?: undefined;
companyId?: undefined;
companyCustomFieldId?: undefined;
};
required?: undefined;
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
id: {
type: string;
description: string;
};
body: {
type: string;
description: string;
properties: {
name: {
type: string;
description: string;
maxLength: number;
};
type: {
type: string;
description: string;
enum: string[];
};
domain?: undefined;
description?: undefined;
value?: undefined;
};
required?: undefined;
};
instance: {
type: string;
description: string;
};
workspaceId: {
type: string;
description: string;
};
name?: undefined;
domain?: undefined;
description?: undefined;
externalId?: undefined;
limit?: undefined;
startWith?: undefined;
detail?: undefined;
includeSubData?: undefined;
featureId?: undefined;
hasNotes?: undefined;
term?: undefined;
companyId?: undefined;
companyCustomFieldId?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
companyId: {
type: string;
description: string;
};
companyCustomFieldId: {
type: string;
description: string;
};
instance: {
type: string;
description: string;
};
workspaceId: {
type: string;
description: string;
};
name?: undefined;
domain?: undefined;
description?: undefined;
externalId?: undefined;
limit?: undefined;
startWith?: undefined;
detail?: undefined;
includeSubData?: undefined;
featureId?: undefined;
hasNotes?: undefined;
term?: undefined;
id?: undefined;
body?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
companyId: {
type: string;
description: string;
};
companyCustomFieldId: {
type: string;
description: string;
};
body: {
type: string;
description: string;
properties: {
value: {
type: string[];
description: string;
};
name?: undefined;
domain?: undefined;
description?: undefined;
type?: undefined;
};
required: string[];
};
instance: {
type: string;
description: string;
};
workspaceId: {
type: string;
description: string;
};
name?: undefined;
domain?: undefined;
description?: undefined;
externalId?: undefined;
limit?: undefined;
startWith?: undefined;
detail?: undefined;
includeSubData?: undefined;
featureId?: undefined;
hasNotes?: undefined;
term?: undefined;
id?: undefined;
};
required: string[];
};
})[];
export declare function handleCompaniesTool(name: string, args: any): Promise<{
content: {
type: string;
text: string | {
formatted: string;
raw: any;
};
}[];
}>;