

# Clean up

When you finish the tutorials in this chapter, remove the MCP server from your client and delete the sample resources so that you stop paying for them.

 **To clean up** 

1. To remove the server from Claude Code, run the following command.

   ```bash
   claude mcp remove agent-context
   ```

1. Open the AWS Context console, and choose **Agent context** in the navigation pane.

1. Select **agent-context-sample**, choose **Delete**, and then confirm the deletion.