The Secret Service and Department of Homeland Security said they can handle security at President Trump’s State of the Union address — which House Speaker Nancy Pelosi wants Trump to postpone.

Both federal agencies have been largely shuttered as the partial government shutdown enters its record-breaking 26th day.

But Homeland Security chief Kirstjen Nielsen wrote on Twitter that both agencies are good to go.

“The Department of Homeland Security and the US Secret Service are fully prepared to support and secure the State of the Union. We thank the Service for their mission focus and dedication and for all they do each day to secure our homeland,” she wrote.

Meanwhile, House Minority Leader Kevin McCarthy said Pelosi’s request was “unbecoming” and motivated by politics, not security concerns.

“It is not a security issue — that’s politics. It’s pure politics,” he told the network.

Asked whether Trump should still speak in the House on Jan. 29 if Pelosi rescinds the invitation, McCarthy replied: “Yes, absolutely.”

But it’s unclear whether Trump can appear before a joint session of Congress without Pelosi’s OK.

While Pelosi invited Trump to speak, a resolution supporting that invitation has to be passed by both the House and Senate, and neither chamber has taken that vote yet.

“He can give it in the Oval Office,” Pelosi told reporters, while insisting that her request was only a suggestion.