@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
39 lines (38 loc) • 1.36 kB
TypeScript
import { z } from 'zod';
/**
* Arguments for listing Confluence spaces
* Matches the controller's ListSpacesOptions interface
*/
declare const ListSpacesToolArgs: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
cursor: z.ZodOptional<z.ZodString>;
type: z.ZodOptional<z.ZodEnum<["global", "personal", "archived"]>>;
status: z.ZodOptional<z.ZodEnum<["current", "archived"]>>;
}, "strip", z.ZodTypeAny, {
status?: "current" | "archived" | undefined;
cursor?: string | undefined;
type?: "global" | "personal" | "archived" | undefined;
limit?: number | undefined;
}, {
status?: "current" | "archived" | undefined;
cursor?: string | undefined;
type?: "global" | "personal" | "archived" | undefined;
limit?: number | undefined;
}>;
type ListSpacesToolArgsType = z.infer<typeof ListSpacesToolArgs>;
export type ListSpacesOptions = ListSpacesToolArgsType & {
keys?: string[];
};
/**
* Arguments for getting a specific Confluence space
* Matches the controller's get function signature
*/
declare const GetSpaceToolArgs: z.ZodObject<{
spaceKey: z.ZodString;
}, "strip", z.ZodTypeAny, {
spaceKey: string;
}, {
spaceKey: string;
}>;
type GetSpaceToolArgsType = z.infer<typeof GetSpaceToolArgs>;
export { ListSpacesToolArgs, type ListSpacesToolArgsType, GetSpaceToolArgs, type GetSpaceToolArgsType, };