A rocket struck an Indian diplomatic compound in the Afghan capital of Kabul on Tuesday, causing no casualties, police said, as representatives of about two dozen international delegations met a kilometre or so away to discuss efforts to end violence.

Representational image. AP

Sirens and warnings of "incoming" missiles sounded in a number of embassies, followed by a dull thump as the rocket exploded.

Police said no one was injured in the blast, which struck a tennis court, a few blocks away from where the Indian ambassador and other foreign dignitaries were meeting with senior Afghan officials.

A Taliban Twitter account said the group had targeted a "command centre of foreign invading forces" with a "missile".

Notoriously inaccurate, rockets are an occasion fired into the city, often towards the fortified downtown area that houses not only the Indian embassy, but a number of other foreign delegations, the headquarters of the international military mission and Afghan government ministries.

On 31 May, a huge truck bomb detonated outside gates leading to the fortified area, killing more than 150 Afghans and wounding hundreds.

That blast caused serious damage to the German embassy and lighter damage to the Indian and other embassies nearby.

A bomb attack on the Indian embassy in 2008 killed more than 40 people.