vFunction Logo

Extracting service

You will now use the vFunction code-copy MCP tool in Kiro to extract the services.

  1. In command prompt, goto the “c:\vFunctionLab\oms-tutorial\oms-webmvc” folder.

    cd  c:\vFunctionLab\oms-tutorial\oms-webmvc
  2. Open Kiro in the current directory.

    kiro .

    servextr

  3. In the Kiro prompt, check installed vFunction MCP tools by asking “list vFunction MCP tools”:

    list vFunction MCP tools

    servextr servextr

  4. We will use the “Spec & Code Copy MCP Tools” to extract the Order service. Ask Kiro: “make a new directory services20260415, download the vFunction code-copy utility then extract order domain into new folder”:

    make a new directory services20260415, download the vFunction code-copy utility then extract order domain into new folder

    servextr

    The new OrderController service and common library has been created and the required classes and configuration populated. Check the EXTRACTION_ISSUES.txt file for any issues with extraction.

    servextr servextr

vFunction Logo