import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { type McpOperationDependencies } from './operations.js'; import { type ManagerAssignmentIdentity } from '../manager/assignment.js'; import type { ManagerMcpConnection } from '../manager/managerMcpConnection.js'; export type TaktMcpToolSet = 'all' | 'read-only' | 'manager'; /** * The read-only task-state tools are also used to build the interactive * provider allowlist. Keep this list beside the MCP registration so exposing * a new read-only tool cannot leave the interactive permission path behind. */ export declare const TAKT_MCP_READ_ONLY_TOOL_NAMES: readonly ["takt_list_tasks", "takt_get_run", "takt_list_goals", "takt_get_goal"]; export declare const TAKT_MCP_MANAGER_TOOL_NAMES: readonly ["takt_list_tasks", "takt_get_run", "takt_list_goals", "takt_get_goal", "takt_add_workspace_repository", "takt_remove_workspace_repository", "takt_rename_workspace", "takt_enqueue_goal_task", "takt_list_workflows", "takt_requeue_goal_task", "takt_retry_goal_task", "takt_remove_goal_task", "takt_stop_goal_task", "takt_merge_goal_task", "takt_complete_goal", "takt_check_goal_completion", "takt_reopen_goal", "takt_merge_goal_pr", "takt_tell_run", "takt_get_goal_diff", "takt_get_goal_history", "takt_get_goal_relation", "takt_ask_goal_question", "takt_list_goal_questions", "takt_get_goal_question", "takt_withdraw_goal_question", "takt_notify_goal", "takt_list_standalone_inquiries", "takt_withdraw_standalone_inquiry", "takt_record_goal_work_log", "takt_list_goal_work_log"]; export interface TaktMcpServerOptions { managerAssignment?: ManagerAssignmentIdentity; allowedProjectRoot?: string; toolSet?: TaktMcpToolSet; includeReferenceMarkers?: boolean; goalExecutionConnection?: ManagerMcpConnection; } export declare function createTaktMcpServer(deps?: McpOperationDependencies, options?: TaktMcpServerOptions): McpServer; //# sourceMappingURL=server.d.ts.map