@futurelab-studio/latest-science-mcp
Version:
MCP Server for Scientific Paper Harvesting from arXiv and OpenAlex
13 lines (12 loc) • 399 B
TypeScript
import { PaperMetadata, CategoryList } from './papers.js';
export interface ToolResponse {
content: PaperMetadata[] | CategoryList | PaperMetadata;
warnings?: string[];
errors?: string[];
}
export interface MCPError {
code: 'NotAvailable' | 'PartialSuccess' | 'RateLimited' | 'SourceDown' | 'InvalidQuery';
message: string;
suggestions?: string[];
retryAfter?: number;
}