@aashari/mcp-server-atlassian-confluence
Version:
Node.js/TypeScript MCP server for Atlassian Confluence. Provides tools enabling AI systems (LLMs) to list/get spaces & pages (content formatted as Markdown) and search via CQL. Connects AI seamlessly to Confluence knowledge bases using the standard MCP in
35 lines (34 loc) • 1.19 kB
TypeScript
import { z } from 'zod';
/**
* Arguments for searching Confluence content
*/
declare const SearchToolArgs: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
cursor: z.ZodOptional<z.ZodString>;
cql: z.ZodOptional<z.ZodString>;
title: z.ZodOptional<z.ZodString>;
spaceKey: z.ZodOptional<z.ZodString>;
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
contentType: z.ZodOptional<z.ZodEnum<["page", "blogpost"]>>;
query: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
title?: string | undefined;
cql?: string | undefined;
cursor?: string | undefined;
labels?: string[] | undefined;
limit?: number | undefined;
query?: string | undefined;
spaceKey?: string | undefined;
contentType?: "page" | "blogpost" | undefined;
}, {
title?: string | undefined;
cql?: string | undefined;
cursor?: string | undefined;
labels?: string[] | undefined;
limit?: number | undefined;
query?: string | undefined;
spaceKey?: string | undefined;
contentType?: "page" | "blogpost" | undefined;
}>;
type SearchToolArgsType = z.infer<typeof SearchToolArgs>;
export { SearchToolArgs, type SearchToolArgsType };