@the_cfdude/productboard-mcp
Version:
Model Context Protocol server for Productboard REST API with dynamic tool loading
43 lines (42 loc) • 1.47 kB
TypeScript
/**
* Application constants
* Centralized definitions for magic numbers and configuration values
*/
export declare const API_LIMITS: {
/** Default maximum records per page */
readonly DEFAULT_PAGE_SIZE: 100;
/** Minimum page size allowed */
readonly MIN_PAGE_SIZE: 1;
/** Maximum page size allowed */
readonly MAX_PAGE_SIZE: 100;
/** Default starting offset */
readonly DEFAULT_OFFSET: 0;
/** Minimum offset allowed */
readonly MIN_OFFSET: 0;
};
export declare const RESPONSE_LIMITS: {
/** Minimum response length for optimization */
readonly MIN_RESPONSE_LENGTH: 100;
/** Maximum response length before truncation */
readonly MAX_RESPONSE_LENGTH: 50000;
/** Maximum length for string fields before truncation */
readonly MAX_STRING_FIELD_LENGTH: 1024;
/** Default truncation indicator */
readonly DEFAULT_TRUNCATE_INDICATOR: "...";
};
export declare const RATE_LIMITS: {
/** Default rate limit per minute */
readonly DEFAULT_RATE_LIMIT_PER_MINUTE: 60;
};
export declare const TIMEOUTS: {
/** Default API request timeout in milliseconds */
readonly DEFAULT_API_TIMEOUT: 30000;
/** Connection timeout in milliseconds */
readonly CONNECTION_TIMEOUT: 10000;
};
export declare const FIELD_LIMITS: {
/** Maximum number of custom fields to include */
readonly MAX_CUSTOM_FIELDS: 50;
/** Maximum field name length */
readonly MAX_FIELD_NAME_LENGTH: 100;
};