{"openapi":"3.1.1","info":{"title":"HACS Coordination API","description":"Human-Adjacent Coordination System - AI Instance Coordination API","version":"2.0.0","contact":{"name":"HACS Team","url":"https://github.com/LupoGrigi0/Human-Adjacent-Coordination"},"license":{"name":"MIT","url":"https://opensource.org/licenses/MIT"}},"servers":[{"url":"https://smoothcurves.nexus","description":"Production HACS Server"}],"paths":{"/mcp":{"post":{"operationId":"executeMcpFunction","summary":"Execute MCP coordination function","description":"Execute any coordination function through the MCP protocol interface.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcRequest"}}}},"responses":{"200":{"description":"Function executed successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcResponse"}}}}}}},"/health":{"get":{"operationId":"getHealth","summary":"Health check","security":[],"responses":{"200":{"description":"Server is healthy"}}}}},"components":{"schemas":{"JsonRpcRequest":{"type":"object","required":["jsonrpc","method","params","id"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"method":{"type":"string","const":"tools/call"},"params":{"$ref":"#/components/schemas/ToolCallParams"},"id":{"oneOf":[{"type":"string"},{"type":"number"}]}}},"ToolCallParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","enum":["adopt_personality","generate_recovery_key","get_recovery_key","bootstrap","continue_conversation","get_conversation_log","add_diary_entry","get_diary","create_document","read_document","edit_document","rename_document","archive_document","unarchive_document","list_documents","list_archive","list_vital_documents","add_to_vital","remove_from_vital","clone_project_repo","push_project_changes","get_repo_status","create_goal","list_personal_goals","list_project_goals","get_goal","add_criteria","update_criteria","validate_criteria","set_goal_status","delete_goal","add_dependency","validate_dependency","validate_dependencies","register_context","lookup_identity","have_i_bootstrapped_before","get_all_instances","get_instance_v2","introspect","join_project","launch_instance","land_instance","create_list","get_lists","get_list","add_list_item","toggle_list_item","rename_list","delete_list_item","delete_list","send_message","list_my_messages","get_message","do_i_have_new_messages","list_project_messages","purge_room_messages","reset_read_tracking","xmpp_send_message","send_message","xmpp_get_messages","xmpp_get_message","get_presence","lookup_shortname","get_messaging_info","get_personalities","get_personality","pre_approve","create_project","get_project","list_projects","update_project","recover_context","list_roles","get_role","get_role_summary","get_role_wisdom","get_role_wisdom_file","take_on_role","list_priorities","list_task_statuses","update_task","create_task","create_task_list","list_tasks","assign_task","take_on_task","mark_task_complete","get_task","delete_task","delete_task_list","list_priority_tasks","get_my_top_task","mark_task_verified","archive_task","get_my_tasks","get_next_task","add_personal_task","complete_personal_task","create_personal_list","get_personal_lists","assign_task_to_instance","update_instance","vacation","koan","add_koan","get_tool_help","wake_instance","get_wake_scripts"],"description":"Name of the coordination function to execute"},"arguments":{"type":"object","description":"Function-specific arguments"}}},"JsonRpcResponse":{"type":"object","properties":{"jsonrpc":{"type":"string","const":"2.0"},"result":{"type":"object"},"error":{"$ref":"#/components/schemas/JsonRpcError"},"id":{"oneOf":[{"type":"string"},{"type":"number"}]}}},"JsonRpcError":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object"}}}}}}