mcp-ai-agent-guidelines
Version:
A comprehensive Model Context Protocol server providing professional tools, resources, and prompts for implementing AI agent best practices
47 lines • 982 B
TypeScript
export type Reference = {
title: string;
url?: string;
source?: string;
note?: string;
};
export type ResourceSegment = {
type: "heading";
level: 1 | 2 | 3 | 4;
text: string;
} | {
type: "paragraph";
text: string;
} | {
type: "list";
ordered?: boolean;
items: string[];
} | {
type: "table";
headers: string[];
rows: string[][];
} | {
type: "code";
language: string;
code: string;
caption?: string;
} | {
type: "note";
text: string;
} | {
type: "callout";
text: string;
} | {
type: "references";
items: Reference[];
};
export interface StructuredResource {
id: string;
title: string;
version: string;
lastUpdated: string;
tags?: string[];
segments: ResourceSegment[];
}
export declare function renderStructuredToMarkdown(res: StructuredResource): string;
export declare const structuredResources: StructuredResource[];
//# sourceMappingURL=structured.d.ts.map